Skip to content

Commit

Permalink
TITANIC: Don't try to load save if quitting from Continue dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Nov 16, 2016
1 parent afb4b62 commit 0fb54db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions engines/titanic/continue_save_dialog.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit 0fb54db

Please sign in to comment.