aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);