[Scummvm-git-logs] scummvm master -> 0fb54db9b8c32aa1c9cc55a22b52c9c6fb2b7eca
dreammaster
dreammaster at scummvm.org
Wed Nov 16 03:16:29 CET 2016
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:
0fb54db9b8 TITANIC: Don't try to load save if quitting from Continue dialog
Commit: 0fb54db9b8c32aa1c9cc55a22b52c9c6fb2b7eca
https://github.com/scummvm/scummvm/commit/0fb54db9b8c32aa1c9cc55a22b52c9c6fb2b7eca
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2016-11-15T21:16:21-05:00
Commit Message:
TITANIC: Don't try to load save if quitting from Continue dialog
Changed paths:
engines/titanic/continue_save_dialog.cpp
diff --git a/engines/titanic/continue_save_dialog.cpp b/engines/titanic/continue_save_dialog.cpp
index 0982cab..f266c39 100644
--- a/engines/titanic/continue_save_dialog.cpp
+++ b/engines/titanic/continue_save_dialog.cpp
@@ -75,6 +75,8 @@ int CContinueSaveDialog::show() {
while (!g_vm->shouldQuit() && _selectedSlot == -999) {
g_vm->_events->pollEventsAndWait();
}
+ if (g_vm->shouldQuit())
+ _selectedSlot = -2;
return _selectedSlot;
}
More information about the Scummvm-git-logs
mailing list