1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

fix path not updated after cheat

This commit is contained in:
Laserlicht
2025-06-25 02:38:50 +02:00
parent de893a3575
commit 17def4d853

View File

@@ -498,6 +498,7 @@ void CPlayerInterface::heroMovePointsChanged(const CGHeroInstance * hero)
if (makingTurn && hero->tempOwner == playerID)
adventureInt->onHeroChanged(hero);
invalidatePaths();
GAME->interface()->localState->verifyPath(hero);
}
void CPlayerInterface::receivedResource()
{