mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-04 00:15:53 +02:00
Wait for inactive player in hotseat to answer dialog before starting
battle
This commit is contained in:
parent
e7779a0b90
commit
3e1968c201
@ -1489,6 +1489,7 @@ void CPlayerInterface::playerBlocked(int reason, bool start)
|
||||
cmp.push_back(std::make_shared<CComponent>(ComponentType::FLAG, playerID));
|
||||
makingTurn = true; //workaround for stiff showInfoDialog implementation
|
||||
showInfoDialog(msg, cmp);
|
||||
waitWhileDialog();
|
||||
makingTurn = false;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user