[Scummvm-cvs-logs] CVS: scummvm/bs2/driver render.cpp,1.10,1.11

Torbj?rn Andersson eriktorbjorn at users.sourceforge.net
Wed Aug 20 00:09:10 CEST 2003


Update of /cvsroot/scummvm/scummvm/bs2/driver
In directory sc8-pr-cvs1:/tmp/cvs-serv4243

Modified Files:
	render.cpp 
Log Message:
This should fix the crash in the demo when you tried to walk down the
stairs to the water. (And probably countless other places as well.)


Index: render.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/bs2/driver/render.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- render.cpp	19 Aug 2003 14:57:26 -0000	1.10
+++ render.cpp	20 Aug 2003 06:48:07 -0000	1.11
@@ -1260,6 +1260,7 @@
 				if (blockSurfaces[j][i])
 					delete blockSurfaces[j][i];
 			free(blockSurfaces[j]);
+			blockSurfaces[j] = NULL;
 		}
 	}
 





More information about the Scummvm-git-logs mailing list