瀏覽代碼

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);
 }