ソースを参照

Try to fix battle startup if player has waiting dialogs

Ivan Savenko 1 年間 前
コミット
b94a61c255
1 ファイル変更1 行追加1 行削除
  1. 1 1
      client/CPlayerInterface.cpp

+ 1 - 1
client/CPlayerInterface.cpp

@@ -621,7 +621,7 @@ void CPlayerInterface::battleStartBefore(const BattleID & battleID, const CCreat
 	movementController->onBattleStarted();
 
 	//Don't wait for dialogs when we are non-active hot-seat player
-	if (LOCPLINT == this)
+	if (makingTurn)
 		waitForAllDialogs();
 }