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

VCAI::tileHidden: added clearPathsInfo

Sector map likely updated anyway after AI turn starts, but cleaning of heroesUnableToExplore when tile hidden feels reasonable.
This commit is contained in:
Arseniy Shestakov 2016-08-18 03:51:00 +03:00
parent c931fa5081
commit 91c298bdaa

View File

@ -288,6 +288,7 @@ void VCAI::tileHidden(const std::unordered_set<int3, ShashInt3> &pos)
NET_EVENT_HANDLER;
validateVisitableObjs();
clearPathsInfo();
}
void VCAI::tileRevealed(const std::unordered_set<int3, ShashInt3> &pos)