[Scummvm-cvs-logs] CVS: scummvm/queen logic.cpp,1.19,1.20
David Eriksson
twogood at users.sourceforge.net
Mon Oct 6 03:28:04 CEST 2003
Update of /cvsroot/scummvm/scummvm/queen
In directory sc8-pr-cvs1:/tmp/cvs-serv4776/queen
Modified Files:
logic.cpp
Log Message:
Start on index 1, not 0.
Index: logic.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/queen/logic.cpp,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- logic.cpp 6 Oct 2003 08:24:38 -0000 1.19
+++ logic.cpp 6 Oct 2003 10:27:22 -0000 1.20
@@ -98,7 +98,7 @@
else {
_sfxName = new uint16[_numRooms + 1];
- for (i = 0; i < (_numRooms + 1); i++) {
+ for (i = 1; i < (_numRooms + 1); i++) {
_sfxName[i] = READ_BE_UINT16(ptr);
ptr += 2;
}
More information about the Scummvm-git-logs
mailing list