mirror of
https://github.com/vcmi/vcmi.git
synced 2025-09-16 09:26:28 +02:00
- adventure map defs are now part of town config. Should be the last part
- possibly fixed #1136
This commit is contained in:
@@ -957,7 +957,6 @@ void CPlayerInterface::showInfoDialog(const std::string &text, const std::vector
|
||||
{
|
||||
waitWhileDialog();
|
||||
|
||||
stopMovement();
|
||||
if (settings["session"]["autoSkip"].Bool() && !LOCPLINT->shiftPressed())
|
||||
{
|
||||
return;
|
||||
@@ -968,6 +967,7 @@ void CPlayerInterface::showInfoDialog(const std::string &text, const std::vector
|
||||
{
|
||||
CCS->soundh->playSound(static_cast<soundBase::soundID>(soundID));
|
||||
showingDialog->set(true);
|
||||
stopMovement(); // interrupt movement to show dialog
|
||||
GH.pushInt(temp);
|
||||
}
|
||||
else
|
||||
@@ -1271,7 +1271,7 @@ bool CPlayerInterface::moveHero( const CGHeroInstance *h, CGPath path )
|
||||
stillMoveHero.cond.wait(un);
|
||||
|
||||
tlog5 << "Resuming " << __FUNCTION__ << std::endl;
|
||||
if (guarded) // Abort movement if a guard was fought.
|
||||
if (guarded || showingDialog->get() == true) // Abort movement if a guard was fought or there is a dialog to display (Mantis #1136)
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user