aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2002-11-08 03:45:38 +0000
committerTravis Howell2002-11-08 03:45:38 +0000
commitd3798b7e3d85120e9708590d62a088326caaca48 (patch)
tree80f646c325c2f1e99acc9c6908f99f31db2cdd98
parent04c1d2f90c64ad6f92850901bb7540ad56df987c (diff)
downloadscummvm-rg350-d3798b7e3d85120e9708590d62a088326caaca48.tar.gz
scummvm-rg350-d3798b7e3d85120e9708590d62a088326caaca48.tar.bz2
scummvm-rg350-d3798b7e3d85120e9708590d62a088326caaca48.zip
Remove error and replace with proper exit function.
svn-id: r5460
-rw-r--r--simon/items.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/simon/items.cpp b/simon/items.cpp
index 7c08d33aa0..145da5923a 100644
--- a/simon/items.cpp
+++ b/simon/items.cpp
@@ -405,7 +405,7 @@ int SimonState::runScript()
break;
case 68:{ /* exit interpreter */
- error("Exit interpreter opcode");
+ system->quit();
}
break;