[Scummvm-cvs-logs] CVS: scummvm/sword1 menu.cpp,1.28,1.29
Robert Göffringmann
lavosspawn at users.sourceforge.net
Tue Oct 25 22:08:28 CEST 2005
Update of /cvsroot/scummvm/scummvm/sword1
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14391/sword1
Modified Files:
menu.cpp
Log Message:
fix for bug #1153682:
BS1: 64-bit crash when menu appears
Index: menu.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword1/menu.cpp,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- menu.cpp 18 Oct 2005 01:30:24 -0000 1.28
+++ menu.cpp 26 Oct 2005 05:06:52 -0000 1.29
@@ -96,7 +96,7 @@
_objectBarStatus = MENU_CLOSED;
_fadeSubject = 0;
_fadeObject = 0;
- for (cnt = 0; cnt < TOTAL_subjects; cnt++)
+ for (cnt = 0; cnt < 16; cnt++)
_subjects[cnt] = NULL;
for (cnt = 0; cnt < TOTAL_pockets; cnt++)
_objects[cnt] = NULL;
More information about the Scummvm-git-logs
mailing list