Sfoglia il codice sorgente

Fix excessive paths updates when using Fly/Water Walk

Ivan Savenko 8 mesi fa
parent
commit
6957ac33b6
1 ha cambiato i file con 0 aggiunte e 3 eliminazioni
  1. 0 3
      client/adventureMap/AdventureMapInterface.cpp

+ 0 - 3
client/adventureMap/AdventureMapInterface.cpp

@@ -107,9 +107,6 @@ void AdventureMapInterface::onHeroMovementStarted(const CGHeroInstance * hero)
 
 void AdventureMapInterface::onHeroChanged(const CGHeroInstance *h)
 {
-	if (h)
-		LOCPLINT->localState->verifyPath(h);
-
 	widget->getHeroList()->updateElement(h);
 
 	if (h && h == LOCPLINT->localState->getCurrentHero() && !widget->getInfoBar()->showingComponents())