aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2011-06-04 17:31:08 +1000
committerPaul Gilbert2011-06-04 17:31:08 +1000
commit10c308f5575819ec9f6f6ae5080e517a43027c05 (patch)
tree29b37952dbbd56aba52c188a522032792bc4557b /engines
parent6e4e4e50a5c36518e0dc55585ad19101e88f8d05 (diff)
downloadscummvm-rg350-10c308f5575819ec9f6f6ae5080e517a43027c05.tar.gz
scummvm-rg350-10c308f5575819ec9f6f6ae5080e517a43027c05.tar.bz2
scummvm-rg350-10c308f5575819ec9f6f6ae5080e517a43027c05.zip
TSAGE: Bugfix for assert when quitting whilst inventory dialog active
Diffstat (limited to 'engines')
-rw-r--r--engines/tsage/dialogs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tsage/dialogs.cpp b/engines/tsage/dialogs.cpp
index de241198e6..c1bd1d027f 100644
--- a/engines/tsage/dialogs.cpp
+++ b/engines/tsage/dialogs.cpp
@@ -473,7 +473,7 @@ void InventoryDialog::execute() {
g_system->updateScreen();
}
if (_vm->getEventManager()->shouldQuit())
- return;
+ break;
hiliteObj = NULL;
if ((event.eventType == EVENT_BUTTON_DOWN) && !_bounds.contains(event.mousePos))