[Scummvm-cvs-logs] CVS: scummvm/scumm resource_v2.cpp,1.6,1.7
Max Horn
fingolfin at users.sourceforge.net
Sat Dec 14 10:52:03 CET 2002
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv6785/scumm
Modified Files:
resource_v2.cpp
Log Message:
fixed warning
Index: resource_v2.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/resource_v2.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- resource_v2.cpp 12 Dec 2002 16:29:20 -0000 1.6
+++ resource_v2.cpp 14 Dec 2002 18:51:34 -0000 1.7
@@ -32,7 +32,8 @@
openRoom(-1);
openRoom(0);
- if (magic = _fileHandle.readUint16LE() != 0x0100)
+ magic = _fileHandle.readUint16LE();
+ if (magic != 0x0100)
warning("The magic id doesn't match (0x%X)\n", magic);
_numGlobalObjects = _fileHandle.readUint16LE();
More information about the Scummvm-git-logs
mailing list