[Scummvm-cvs-logs] CVS: scummvm/sword1 menu.cpp,1.27.2.1,1.27.2.2

Robert Göffringmann lavosspawn at users.sourceforge.net
Tue Oct 25 00:07:22 CEST 2005


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

Modified Files:
      Tag: branch-0-8-0
	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.27.2.1
retrieving revision 1.27.2.2
diff -u -d -r1.27.2.1 -r1.27.2.2
--- menu.cpp	18 Oct 2005 02:11:27 -0000	1.27.2.1
+++ menu.cpp	25 Oct 2005 07:03:11 -0000	1.27.2.2
@@ -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