[Scummvm-git-logs] scummvm master -> a99891c2f3189bcc2b9357a9d42a848afb48693b
bgK
bastien.bouclet at gmail.com
Sun Aug 20 10:01:44 CEST 2017
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
a99891c2f3 MOHAWK: Riven: Pause the engine while the load dialog is open
Commit: a99891c2f3189bcc2b9357a9d42a848afb48693b
https://github.com/scummvm/scummvm/commit/a99891c2f3189bcc2b9357a9d42a848afb48693b
Author: Bastien Bouclet (bastien.bouclet at gmail.com)
Date: 2017-08-20T10:01:24+02:00
Commit Message:
MOHAWK: Riven: Pause the engine while the load dialog is open
Changed paths:
engines/mohawk/riven.cpp
diff --git a/engines/mohawk/riven.cpp b/engines/mohawk/riven.cpp
index c7f8d1c..ea3e2ce 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);
}
More information about the Scummvm-git-logs
mailing list