diff options
author | Travis Howell | 2005-05-18 16:15:56 +0000 |
---|---|---|
committer | Travis Howell | 2005-05-18 16:15:56 +0000 |
commit | c986a12a810a41afa2f67901a651487fa06d425b (patch) | |
tree | 392108b62c6741264a9e0fd7e10e031d460bb881 | |
parent | 35dda2b636825c4273a0d13cd1b65ae49fdb65ca (diff) | |
download | scummvm-rg350-c986a12a810a41afa2f67901a651487fa06d425b.tar.gz scummvm-rg350-c986a12a810a41afa2f67901a651487fa06d425b.tar.bz2 scummvm-rg350-c986a12a810a41afa2f67901a651487fa06d425b.zip |
Correct input script in C64 maniac.
svn-id: r18171
-rw-r--r-- | scumm/script.cpp | 6 | ||||
-rw-r--r-- | scumm/script_c64.cpp | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/scumm/script.cpp b/scumm/script.cpp index dcaef1b1d1..3ad32ea13a 100644 --- a/scumm/script.cpp +++ b/scumm/script.cpp @@ -988,7 +988,11 @@ void ScummEngine::runInputScript(int a, int cmd, int mode) { int args[24]; int verbScript; - if (_version <= 2) { + if (_gameId == GID_MANIAC && _platform == Common::kPlatformC64) { + verbScript = 3; + //_scummVars[9] = cmd; + + } else if (_version <= 2) { verbScript = 4; _scummVars[VAR_CLICK_AREA] = a; switch (a) { diff --git a/scumm/script_c64.cpp b/scumm/script_c64.cpp index 8cf9682b6b..0094dcfabb 100644 --- a/scumm/script_c64.cpp +++ b/scumm/script_c64.cpp @@ -182,7 +182,7 @@ void ScummEngine_c64::setupOpcodes() { OPCODE(o_getObjectOwner), /* 74 */ OPCODE(o5_getDist), - OPCODE(o2_findObject), + OPCODE(o5_printEgo), OPCODE(o2_walkActorToObject), OPCODE(o2_clearState01), /* 78 */ |