mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Minor fixes
This commit is contained in:
parent
1377338a41
commit
ff2ac5b34b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user