mirror of
https://github.com/vcmi/vcmi.git
synced 2025-02-03 13:01:33 +02:00
Fixed #1490.
This commit is contained in:
parent
f927bca146
commit
d5263d75f8
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user