aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2004-01-05 14:39:44 +0000
committerTravis Howell2004-01-05 14:39:44 +0000
commitbe09d4dddc276a836e02a18f8e330e09b53a233b (patch)
tree7108df02c39c4337bb7314fd1b11a182e41a67b5 /scumm
parent232a709fd4bf22a0daff99b97eb5e4cc854e44f3 (diff)
downloadscummvm-rg350-be09d4dddc276a836e02a18f8e330e09b53a233b.tar.gz
scummvm-rg350-be09d4dddc276a836e02a18f8e330e09b53a233b.tar.bz2
scummvm-rg350-be09d4dddc276a836e02a18f8e330e09b53a233b.zip
Had checks wrong way around, seems to work now.
svn-id: r12158
Diffstat (limited to 'scumm')
-rw-r--r--scumm/script_v6.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp
index 2b2e9cd792..f2e8637984 100644
--- a/scumm/script_v6.cpp
+++ b/scumm/script_v6.cpp
@@ -1780,7 +1780,7 @@ void ScummEngine_v6::o6_actorOps() {
case 218:
{
// TODO: this opcode is used in the putt-putt fun pack, in 'checkers" mini game
- warning("o6_actorOps(): unimplemented opcode 218");
+ warning("o6_actorOps():218 partially unimplemented");
int top_actor = a->top;
int bottom_actor = a->bottom;
@@ -1792,10 +1792,10 @@ void ScummEngine_v6::o6_actorOps() {
a->drawActorCostume();
a->needRedraw = false;
- if (a->top > top_actor) {
+ if (a->top < top_actor) {
a->bottom = top_actor;
}
- if (a->bottom < bottom_actor) {
+ if (a->bottom > bottom_actor) {
a->bottom = bottom_actor;
}
}