diff options
author | Thierry Crozat | 2016-08-03 22:43:44 +0100 |
---|---|---|
committer | Thierry Crozat | 2016-08-03 22:50:06 +0100 |
commit | 191a9a0c641b4d565ecc295f4b8353c15d163248 (patch) | |
tree | a968d8971ec861d60def2ea6f231cf522b87492a /engines/mohawk/myst.cpp | |
parent | 0cccd0ddd1d53b7d16e47a5b2d8ca62c87d992f4 (diff) | |
download | scummvm-rg350-191a9a0c641b4d565ecc295f4b8353c15d163248.tar.gz scummvm-rg350-191a9a0c641b4d565ecc295f4b8353c15d163248.tar.bz2 scummvm-rg350-191a9a0c641b4d565ecc295f4b8353c15d163248.zip |
MOHAWK: Load games from outside the options dialog loop
Loading games from inside the dialog loop may cause cursor
glitches. This commits applies the same fix to the
MohawkOptionsDialog as the one that already existed for
the global main menu. This finished to fix bug #7164.
Diffstat (limited to 'engines/mohawk/myst.cpp')
-rw-r--r-- | engines/mohawk/myst.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/mohawk/myst.cpp b/engines/mohawk/myst.cpp index 633b67f7e9..a1c6d0e748 100644 --- a/engines/mohawk/myst.cpp +++ b/engines/mohawk/myst.cpp @@ -309,6 +309,8 @@ Common::Error MohawkEngine_Myst::run() { _canSafelySaveLoad = true; runDialog(*_optionsDialog); + if (_optionsDialog->getLoadSlot() >= 0) + loadGameState(_optionsDialog->getLoadSlot()); _canSafelySaveLoad = false; if (_needsPageDrop) { |