aboutsummaryrefslogtreecommitdiff
path: root/engines/tony/custom.cpp
diff options
context:
space:
mode:
authorAlyssa Milburn2012-09-25 17:33:49 +0200
committerAlyssa Milburn2012-09-25 17:33:49 +0200
commit050a02c6f85ffec8099acaf21cd7a3cf90cefff3 (patch)
treea0ae6f73ba08680e13925bd33de12b797989d5a9 /engines/tony/custom.cpp
parent0093c4d13ec23af4b1e72f2caa2d879673397c54 (diff)
downloadscummvm-rg350-050a02c6f85ffec8099acaf21cd7a3cf90cefff3.tar.gz
scummvm-rg350-050a02c6f85ffec8099acaf21cd7a3cf90cefff3.tar.bz2
scummvm-rg350-050a02c6f85ffec8099acaf21cd7a3cf90cefff3.zip
TONY: Replace abortGame() with nicer error() calls.
Diffstat (limited to 'engines/tony/custom.cpp')
-rw-r--r--engines/tony/custom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tony/custom.cpp b/engines/tony/custom.cpp
index 8cc459b493..8f260c4f06 100644
--- a/engines/tony/custom.cpp
+++ b/engines/tony/custom.cpp
@@ -1310,7 +1310,7 @@ void autoSave(CORO_PARAM, uint32, uint32, uint32, uint32) {
}
void abortGame(CORO_PARAM, uint32, uint32, uint32, uint32) {
- g_vm->abortGame();
+ error("script called abortGame");
}
void shakeScreen(CORO_PARAM, uint32 nScosse, uint32, uint32, uint32) {