1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Minor fixes

This commit is contained in:
Dydzio 2018-08-09 18:04:49 +02:00
parent 1377338a41
commit ff2ac5b34b

View File

@ -1322,7 +1322,6 @@ bool VCAI::canRecruitAnyHero(const CGTownInstance * t) const
void VCAI::wander(HeroPtr h)
{
auto visitTownIfAny = [this](HeroPtr h) -> bool
{
if (h->visitedTown)
@ -1331,6 +1330,7 @@ void VCAI::wander(HeroPtr h)
buildArmyIn(h->visitedTown);
return true;
}
return false;
};
//unclaim objects that are now dangerous for us