瀏覽代碼

Update hero paths on new day

Ivan Savenko 2 年之前
父節點
當前提交
c328aadfed
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      client/adventureMap/CAdvMapInt.cpp

+ 2 - 0
client/adventureMap/CAdvMapInt.cpp

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