diff options
author | Paul Gilbert | 2016-11-15 21:16:21 -0500 |
---|---|---|
committer | Paul Gilbert | 2016-11-15 21:16:21 -0500 |
commit | 0fb54db9b8c32aa1c9cc55a22b52c9c6fb2b7eca (patch) | |
tree | 4e26d3da6f8d18ee0c5015276dc4b3e9d1583866 | |
parent | afb4b6227a0f20ca829801e00dcf75eeb4c18999 (diff) | |
download | scummvm-rg350-0fb54db9b8c32aa1c9cc55a22b52c9c6fb2b7eca.tar.gz scummvm-rg350-0fb54db9b8c32aa1c9cc55a22b52c9c6fb2b7eca.tar.bz2 scummvm-rg350-0fb54db9b8c32aa1c9cc55a22b52c9c6fb2b7eca.zip |
TITANIC: Don't try to load save if quitting from Continue dialog
-rw-r--r-- | engines/titanic/continue_save_dialog.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/titanic/continue_save_dialog.cpp b/engines/titanic/continue_save_dialog.cpp index 0982cab408..f266c39e60 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; } |