aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorPaweł Kołodziejski2003-07-19 16:10:15 +0000
committerPaweł Kołodziejski2003-07-19 16:10:15 +0000
commitd516f3467cde8fa05ef26732a58e289cd13444e6 (patch)
treedca5fe3b05fddf68c514ac3cbfa49c5648eeb542 /scumm
parentd3f303bb46664053e1f2ef0bc35bfc4c6db41533 (diff)
downloadscummvm-rg350-d516f3467cde8fa05ef26732a58e289cd13444e6.tar.gz
scummvm-rg350-d516f3467cde8fa05ef26732a58e289cd13444e6.tar.bz2
scummvm-rg350-d516f3467cde8fa05ef26732a58e289cd13444e6.zip
updated opcode "Actor Set Color" in o2_ActorSet func, it's based on dissassembly, why it was "i = 3" ?
svn-id: r9082
Diffstat (limited to 'scumm')
-rw-r--r--scumm/script_v2.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp
index 32ff3b64b6..69f3d0f8d9 100644
--- a/scumm/script_v2.cpp
+++ b/scumm/script_v2.cpp
@@ -686,10 +686,8 @@ void Scumm_v2::o2_actorSet() {
break;
case 2: // Actor Set Color
- if ((_gameId == GID_ZAK) && (_version == 1)) {
- // FIXME: maybe this is needed for MM v1, too, but so far I have
- // not seen any call to this in it at all, so I don't know
- i = 3;
+ if (_version == 1) {
+ i = 0;
} else {
i = fetchScriptByte();
}