aboutsummaryrefslogtreecommitdiff
path: root/simon
diff options
context:
space:
mode:
authorTravis Howell2006-01-10 10:16:34 +0000
committerTravis Howell2006-01-10 10:16:34 +0000
commit01ddde410eac09ca3b47cce24072c35104217a6d (patch)
treef044d6456e759da5208f594cdf5da760498932d0 /simon
parent25e6066b17dda01ff0e6e93db3dad785acec9dd6 (diff)
downloadscummvm-rg350-01ddde410eac09ca3b47cce24072c35104217a6d.tar.gz
scummvm-rg350-01ddde410eac09ca3b47cce24072c35104217a6d.tar.bz2
scummvm-rg350-01ddde410eac09ca3b47cce24072c35104217a6d.zip
Add fix for glitch in some versions.
svn-id: r19967
Diffstat (limited to 'simon')
-rw-r--r--simon/items.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/simon/items.cpp b/simon/items.cpp
index 32e2406acb..09bc26e19b 100644
--- a/simon/items.cpp
+++ b/simon/items.cpp
@@ -894,6 +894,9 @@ int SimonEngine::runScript() {
case 156:{ /* is bit set */
uint bit = getVarOrByte();
+ if (getGameType() == GType_SIMON1 && _subroutine == 2962 && bit == 63) {
+ bit = 50;
+ }
condition = (_bitArray[bit / 16] & (1 << (bit & 15))) != 0;
}
break;