[Scummvm-cvs-logs] CVS: scummvm/simon items.cpp,1.143,1.144

kirben kirben at users.sourceforge.net
Tue Jan 10 02:17:03 CET 2006


Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7492/simon

Modified Files:
	items.cpp 
Log Message:

Add fix for glitch in some versions.


Index: items.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/items.cpp,v
retrieving revision 1.143
retrieving revision 1.144
diff -u -d -r1.143 -r1.144
--- items.cpp	13 Dec 2005 00:20:11 -0000	1.143
+++ items.cpp	10 Jan 2006 10:16:34 -0000	1.144
@@ -894,6 +894,9 @@
 
 		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;





More information about the Scummvm-git-logs mailing list