aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/tony/custom.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/tony/custom.cpp b/engines/tony/custom.cpp
index 425899f3ac..f5c580c8c5 100644
--- a/engines/tony/custom.cpp
+++ b/engines/tony/custom.cpp
@@ -1292,7 +1292,8 @@ void autoSave(CORO_PARAM, uint32, uint32, uint32, uint32) {
}
void abortGame(CORO_PARAM, uint32, uint32, uint32, uint32) {
- error("script called abortGame");
+ debug(1, "script called abortGame");
+ g_vm->quitGame();
}
void shakeScreen(CORO_PARAM, uint32 nScosse, uint32, uint32, uint32) {