aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorJames Brown2002-11-15 12:21:30 +0000
committerJames Brown2002-11-15 12:21:30 +0000
commitd1c5b653981111259777ea804611caada613cf83 (patch)
treeb52daff9f42991d5a144080f143f05e0fd5fb64c /scumm
parent25ceebe2b4d46fedccc9f58c44ed3ce9f067f485 (diff)
downloadscummvm-rg350-d1c5b653981111259777ea804611caada613cf83.tar.gz
scummvm-rg350-d1c5b653981111259777ea804611caada613cf83.tar.bz2
scummvm-rg350-d1c5b653981111259777ea804611caada613cf83.zip
Hack for bug 636433
svn-id: r5562
Diffstat (limited to 'scumm')
-rw-r--r--scumm/script_v1.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/scumm/script_v1.cpp b/scumm/script_v1.cpp
index e48956fa22..971e897dd5 100644
--- a/scumm/script_v1.cpp
+++ b/scumm/script_v1.cpp
@@ -982,6 +982,10 @@ void Scumm::o5_getActorY()
setResult(94);
return;
}
+ setResult(getObjY(a) - 1); // FIXME: Is this right, or can it be less specific?
+ // It's here to fix bug 636433 in specific, the actors
+ // are one pixel off what the script waits for.
+ return;
} else
a = getVarOrDirectWord(0x80);