From 0fb54db9b8c32aa1c9cc55a22b52c9c6fb2b7eca Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Tue, 15 Nov 2016 21:16:21 -0500 Subject: [PATCH] TITANIC: Don't try to load save if quitting from Continue dialog --- engines/titanic/continue_save_dialog.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engines/titanic/continue_save_dialog.cpp b/engines/titanic/continue_save_dialog.cpp index 0982cab40821..f266c39e6013 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; }