Explorar o código

Try to fix freeze on battle opening spell

Ivan Savenko hai 4 meses
pai
achega
5aeb06c319
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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)