1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

Update hero paths on new day

This commit is contained in:
Ivan Savenko
2023-03-02 19:19:40 +02:00
parent b61cae5b37
commit c328aadfed

View File

@@ -891,6 +891,8 @@ void CAdvMapInt::select(const CArmedInstance *sel, bool centerView)
heroList->select(hero); heroList->select(hero);
townList->select(nullptr); townList->select(nullptr);
LOCPLINT->paths.verifyPath(hero);
updateSleepWake(hero); updateSleepWake(hero);
updateMoveHero(hero); updateMoveHero(hero);
updateSpellbook(hero); updateSpellbook(hero);