mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user