瀏覽代碼

Try to fix freeze on battle opening spell

Ivan Savenko 3 月之前
父節點
當前提交
5aeb06c319
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      client/battle/BattleInterface.cpp

+ 2 - 0
client/battle/BattleInterface.cpp

@@ -364,6 +364,8 @@ void BattleInterface::battleFinished(const BattleResult& br, QueryID queryID)
 
 void BattleInterface::spellCast(const BattleSpellCast * sc)
 {
+	waitForAnimations();
+
 	// Do not deactivate anything in tactics mode
 	// This is battlefield setup spells
 	if(!tacticsMode)