aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/script.cpp
diff options
context:
space:
mode:
authorJulien2011-06-04 02:53:14 +0800
committerJulien2011-06-23 15:11:36 +0800
commit1cc7faa2426a59cf4af87b757027f767940910c7 (patch)
treeaa7a69d45be4c3415c816ffbea216b1bd1bcf33c /engines/draci/script.cpp
parente05b217b13b8546c815636cc10c3eb91c4465ab8 (diff)
downloadscummvm-rg350-1cc7faa2426a59cf4af87b757027f767940910c7.tar.gz
scummvm-rg350-1cc7faa2426a59cf4af87b757027f767940910c7.tar.bz2
scummvm-rg350-1cc7faa2426a59cf4af87b757027f767940910c7.zip
DRACI: Replace abort() call by error()
Diffstat (limited to 'engines/draci/script.cpp')
-rw-r--r--engines/draci/script.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/draci/script.cpp b/engines/draci/script.cpp
index c4df9d9dde..8ff60033ed 100644
--- a/engines/draci/script.cpp
+++ b/engines/draci/script.cpp
@@ -1160,9 +1160,7 @@ void Script::run(const GPL2Program &program, uint16 offset) {
}
}
} else {
- debugC(1, kDraciBytecodeDebugLevel, "Unknown opcode %d, %d",
- num, subnum);
- abort();
+ error("Unknown opcode %d, %d", num, subnum);
}
GPLHandler handler = cmd->_handler;