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

Merge pull request #5850 from Laserlicht/path

fix path not updated after cheat
This commit is contained in:
Ivan Savenko
2025-07-02 11:38:42 +03:00
committed by GitHub

View File

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