浏览代码

Lock UI during movement animation

Ivan Savenko 2 年之前
父节点
当前提交
30911eb593
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      client/CPlayerInterface.cpp

+ 1 - 0
client/CPlayerInterface.cpp

@@ -2198,6 +2198,7 @@ void CPlayerInterface::doMoveHero(const CGHeroInstance * h, CGPath path)
 		adventureInt->updateNextHero(h);
 	}
 
+	CGI->mh->waitForOngoingAnimations();
 	setMovementStatus(false);
 }