فهرست منبع

Update client/CPlayerInterface.cpp

Co-authored-by: Ivan Savenko <[email protected]>
Laserlicht 3 ماه پیش
والد
کامیت
2690440901
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      client/CPlayerInterface.cpp

+ 1 - 1
client/CPlayerInterface.cpp

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