Michał W. Urbańczyk 12 年之前
父节点
当前提交
d5263d75f8
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      client/CPlayerInterface.cpp

+ 3 - 0
client/CPlayerInterface.cpp

@@ -810,6 +810,9 @@ void CPlayerInterface::battleEnd(const BattleResult *br)
 			SDL_Rect temp_rect = genRect(561, 470, (screen->w - 800)/2 + 165, (screen->h - 600)/2 + 19);
 			auto   resWindow = new CBattleResultWindow(*br, temp_rect, *this);
 			GH.pushInt(resWindow);
+			// #1490 - during AI turn when quick combat is on, we need to display the message and wait for user to close it.
+			// Otherwise NewTurn causes freeze.
+			waitWhileDialog();
 			return;
 		}
 	}