mirror of
https://github.com/vcmi/vcmi.git
synced 2025-02-03 13:01:33 +02:00
Allow dialogs when in battle interface
But also it is not our turn
This commit is contained in:
parent
5de5ac5eb5
commit
d0e0ab767c
@ -1013,7 +1013,7 @@ void CPlayerInterface::showInfoDialog(const std::string &text, const std::vector
|
||||
}
|
||||
std::shared_ptr<CInfoWindow> temp = CInfoWindow::create(text, playerID, components);
|
||||
|
||||
if (makingTurn && GH.windows().count() > 0 && LOCPLINT == this)
|
||||
if ((makingTurn || battleInt) && GH.windows().count() > 0 && LOCPLINT == this)
|
||||
{
|
||||
CCS->soundh->playSound(static_cast<soundBase::soundID>(soundID));
|
||||
showingDialog->setBusy();
|
||||
|
Loading…
x
Reference in New Issue
Block a user