[Scummvm-cvs-logs] CVS: scummvm/queen structs.h,1.23,1.24

Pawel Kolodziejski aquadran at users.sourceforge.net
Sun Nov 16 09:52:43 CET 2003


Update of /cvsroot/scummvm/scummvm/queen
In directory sc8-pr-cvs1:/tmp/cvs-serv31873

Modified Files:
	structs.h 
Log Message:
fixed warning

Index: structs.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/queen/structs.h,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- structs.h	15 Nov 2003 21:16:01 -0000	1.23
+++ structs.h	16 Nov 2003 17:49:27 -0000	1.24
@@ -554,7 +554,7 @@
 	int16 values[4];
 
 	void readFrom(byte *&ptr) {
-		hasTalkedTo = (bool)READ_BE_UINT16(ptr); ptr += 2;
+		hasTalkedTo = READ_BE_UINT16(ptr) != 0; ptr += 2;
 		for (int i = 0; i < 4; i++) {
 			values[i] = (int16)READ_BE_UINT16(ptr); ptr += 2;
 		}	





More information about the Scummvm-git-logs mailing list