diff options
author | Bastien Bouclet | 2017-08-20 09:56:55 +0200 |
---|---|---|
committer | Bastien Bouclet | 2017-08-20 10:01:24 +0200 |
commit | a99891c2f3189bcc2b9357a9d42a848afb48693b (patch) | |
tree | a632cd7f4f85846f301309e2f5773a57c09d3c65 /engines | |
parent | c4f48f35c6ed399dbd1930589c55b4135fc327b4 (diff) | |
download | scummvm-rg350-a99891c2f3189bcc2b9357a9d42a848afb48693b.tar.gz scummvm-rg350-a99891c2f3189bcc2b9357a9d42a848afb48693b.tar.bz2 scummvm-rg350-a99891c2f3189bcc2b9357a9d42a848afb48693b.zip |
MOHAWK: Riven: Pause the engine while the load dialog is open
Diffstat (limited to 'engines')
-rw-r--r-- | engines/mohawk/riven.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/mohawk/riven.cpp b/engines/mohawk/riven.cpp index c7f8d1c3d9..ea3e2ce7ec 100644 --- a/engines/mohawk/riven.cpp +++ b/engines/mohawk/riven.cpp @@ -510,7 +510,10 @@ void MohawkEngine_Riven::delay(uint32 ms) { void MohawkEngine_Riven::runLoadDialog() { GUI::SaveLoadChooser slc(_("Load game:"), _("Load"), false); + pauseEngine(true); int slot = slc.runModalWithCurrentTarget(); + pauseEngine(false); + if (slot >= 0) { loadGameStateAndDisplayError(slot); } |