aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel/inventory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/tinsel/inventory.cpp')
-rw-r--r--engines/tinsel/inventory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tinsel/inventory.cpp b/engines/tinsel/inventory.cpp
index 836e1194fe..ffecacd1be 100644
--- a/engines/tinsel/inventory.cpp
+++ b/engines/tinsel/inventory.cpp
@@ -3071,7 +3071,7 @@ void InventoryProcess(CORO_PARAM, const void *) {
InvLoadGame();
break;
case IQUITGAME:
- _vm->quitFlag = true;
+ _vm->quitGame();
break;
case CLOSEWIN:
KillInventory();