[Scummvm-cvs-logs] CVS: scummvm/simon debugger.cpp,1.10,1.11

Pawel Kolodziejski aquadran at users.sourceforge.net
Fri Jan 30 23:52:31 CET 2004


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

Modified Files:
	debugger.cpp 
Log Message:
fixed warning

Index: debugger.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/debugger.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- debugger.cpp	28 Jan 2004 03:08:42 -0000	1.10
+++ debugger.cpp	29 Jan 2004 19:37:59 -0000	1.11
@@ -155,7 +155,7 @@
 		bit = atoi(argv[1]);
 		value = atoi(argv[2]);
 		if (value <= 1) {
-			_vm->vc_set_bit_to(bit, value);
+			_vm->vc_set_bit_to(bit, value != 0);
 			DebugPrintf("Set bit %d to %d\n", bit, value);
 		} else
 			DebugPrintf("Bit value out of range (0 - 1)\n");





More information about the Scummvm-git-logs mailing list