aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/riven_inventory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mohawk/riven_inventory.cpp')
-rw-r--r--engines/mohawk/riven_inventory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/riven_inventory.cpp b/engines/mohawk/riven_inventory.cpp
index 9872e79a3e..b4304eceec 100644
--- a/engines/mohawk/riven_inventory.cpp
+++ b/engines/mohawk/riven_inventory.cpp
@@ -107,7 +107,7 @@ void RivenInventory::checkClick(const Common::Point &mousePos) {
_vm->changeToCard(12);
} else if (_vm->getStack()->getId() == kStackAspit && _vm->getCard()->getId() == 12) {
// From the "quit" screen, just quit
- _vm->quitGame();
+ _vm->setGameEnded();
} else {
// Otherwise, return to the main menu
if (_vm->getStack()->getId() != kStackAspit)