aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2006-03-23 04:41:06 +0000
committerTravis Howell2006-03-23 04:41:06 +0000
commitddc1a7a52fb055e8670a2df240fc8853ef351814 (patch)
treef431bd051063c3d8f0d44f15f5a77c6c45dbff7f
parentbc8f63483423e8a0b42c7ccc46c45831a5493657 (diff)
downloadscummvm-rg350-ddc1a7a52fb055e8670a2df240fc8853ef351814.tar.gz
scummvm-rg350-ddc1a7a52fb055e8670a2df240fc8853ef351814.tar.bz2
scummvm-rg350-ddc1a7a52fb055e8670a2df240fc8853ef351814.zip
Add opcode 161 difference in FF, fixes some glitches in 2nd room
svn-id: r21416
-rw-r--r--engines/simon/items.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/simon/items.cpp b/engines/simon/items.cpp
index a86e2d16e2..0672f6286a 100644
--- a/engines/simon/items.cpp
+++ b/engines/simon/items.cpp
@@ -938,7 +938,10 @@ int SimonEngine::runScript() {
TextLocation *tl = getTextLocation(getVarOrByte());
tl->x = getVarOrWord();
- tl->y = getVarOrByte();
+ if (getGameType() == GType_FF)
+ tl->y = getVarOrWord();
+ else
+ tl->y = getVarOrByte();
tl->width = getVarOrWord();
}
break;