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:
parent
c931fa5081
commit
91c298bdaa
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user