mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-29 00:41:38 +02:00
Added a missing rturn in CGameHandler::isAllowedExchangeForQuery. Fixed several typos.
This commit is contained in:
@ -466,7 +466,7 @@ CGHeroInstance * CGameState::HeroesPool::pickHeroFor(bool native, int player, co
|
||||
if(pavailable.find(i->first)->second & 1<<player
|
||||
&& i->second->type->heroType/2 == town->typeID)
|
||||
{
|
||||
pool.push_back(i->second); //get all avaliable heroes
|
||||
pool.push_back(i->second); //get all available heroes
|
||||
}
|
||||
}
|
||||
if(!pool.size())
|
||||
@ -2963,4 +2963,4 @@ CPathfinder::CPathfinder(CPathsInfo &_out, CGameState *_gs, const CGHeroInstance
|
||||
{
|
||||
useSubterraneanGates = true;
|
||||
allowEmbarkAndDisembark = true;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user