aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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))