aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Brown2002-04-03 15:51:43 +0000
committerJames Brown2002-04-03 15:51:43 +0000
commit8258a26aed1fe5f58709ade7935ed22b8014f6e9 (patch)
tree11009aa81f6ce6c302e3ecb599e33f0e6330d006
parentf896193a83e23596cecfed4d58494d1ccda29449 (diff)
downloadscummvm-rg350-8258a26aed1fe5f58709ade7935ed22b8014f6e9.tar.gz
scummvm-rg350-8258a26aed1fe5f58709ade7935ed22b8014f6e9.tar.bz2
scummvm-rg350-8258a26aed1fe5f58709ade7935ed22b8014f6e9.zip
Fix bad opcode at Zak Airport
svn-id: r3850
-rw-r--r--script_v1.cpp2
-rw-r--r--sdl.cpp3
2 files changed, 1 insertions, 4 deletions
diff --git a/script_v1.cpp b/script_v1.cpp
index 6082084667..cb21eeb384 100644
--- a/script_v1.cpp
+++ b/script_v1.cpp
@@ -274,7 +274,7 @@ void Scumm::setupOpcodes() {
&Scumm::o5_getActorX,
/* C4 */
&Scumm::o5_isLess,
- &Scumm::o5_badOpcode,
+ &Scumm::o5_drawObject,
&Scumm::o5_decrement,
&Scumm::o5_setState,
/* C8 */
diff --git a/sdl.cpp b/sdl.cpp
index 37b428e1ba..1723e010c4 100644
--- a/sdl.cpp
+++ b/sdl.cpp
@@ -919,9 +919,6 @@ int main(int argc, char* argv[]) {
#endif
- long i;
-
-
if(detector.detectMain(argc, argv))
return(-1);