mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-12 02:28:11 +02:00
Fix for fix, ugh.
This commit is contained in:
parent
d07a77f34b
commit
4b602c42ff
@ -2716,6 +2716,11 @@ void VCAI::lostHero(HeroPtr h)
|
||||
}
|
||||
vstd::erase_if_present(reservedHeroesMap, h);
|
||||
vstd::erase_if_present(cachedSectorMaps, h);
|
||||
vstd::erase_if_present(visitedHeroes, h);
|
||||
for (auto heroVec : visitedHeroes)
|
||||
{
|
||||
vstd::erase_if_present(heroVec.second, h);
|
||||
}
|
||||
}
|
||||
|
||||
void VCAI::answerQuery(QueryID queryID, int selection)
|
||||
|
Loading…
Reference in New Issue
Block a user