浏览代码

Merge pull request #5353 from vcmi/master

Merge master -> beta
Ivan Savenko 8 月之前
父节点
当前提交
9754e72063
共有 1 个文件被更改,包括 0 次插入3 次删除
  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)
 void AdventureMapInterface::onHeroChanged(const CGHeroInstance *h)
 {
 {
-	if (h)
-		LOCPLINT->localState->verifyPath(h);
-
 	widget->getHeroList()->updateElement(h);
 	widget->getHeroList()->updateElement(h);
 
 
 	if (h && h == LOCPLINT->localState->getCurrentHero() && !widget->getInfoBar()->showingComponents())
 	if (h && h == LOCPLINT->localState->getCurrentHero() && !widget->getInfoBar()->showingComponents())