[Scummvm-cvs-logs] CVS: scummvm/sword1 menu.cpp,1.22,1.23
Robert Göffringmann
lavosspawn at users.sourceforge.net
Thu Nov 18 09:49:06 CET 2004
Update of /cvsroot/scummvm/scummvm/sword1
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27955/sword1
Modified Files:
menu.cpp
Log Message:
fixes a crash when closing BS1 while speech menu is open.
Index: menu.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword1/menu.cpp,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- menu.cpp 9 Nov 2004 04:06:09 -0000 1.22
+++ menu.cpp 18 Nov 2004 17:48:50 -0000 1.23
@@ -109,7 +109,7 @@
delete _objects[i];
_objects[i] = NULL;
}
- for (int i = 0; i < TOTAL_subjects; i++) {
+ for (int i = 0; i < 16; i++) {
delete _subjects[i];
_subjects[i] = NULL;
}
More information about the Scummvm-git-logs
mailing list