engine/source/ReligionManager.cpp
// Get a shared pointer to the deity.
Get a shared pointer to the deity.
Get a shared pointer to the deity .
DeityPtr ReligionManager::get_deity(const string& deity_id) const
{
  Game& game = Game::instance();
  DeityPtr deity;
  DeityMap deities = game.get_deities_cref();
  deity            = deities[deity_id];
  return deity;
}
DeityPtr ReligionManager :: get_deity ( const string & deity_id ) const { Game & game = Game :: instance ( ) ; DeityPtr deity ; DeityMap deities = game . get_deities_cref ( ) ; deity = deities [ deity_id ] ; return deity ; }
Get a shared pointer to the deity.
Get a shared pointer to the deity .