aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/titanic/continue_save_dialog.cpp2
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;
}