[Scummvm-cvs-logs] CVS: scummvm/bs2/driver d_draw.cpp,1.20,1.21

Torbj?rn Andersson eriktorbjorn at users.sourceforge.net
Mon Sep 22 23:23:12 CEST 2003


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

Modified Files:
	d_draw.cpp 
Log Message:
Initialize the cutscene voice-over sound handle, in case you press Escape
before there is any speech.


Index: d_draw.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/bs2/driver/d_draw.cpp,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- d_draw.cpp	22 Sep 2003 06:36:38 -0000	1.20
+++ d_draw.cpp	23 Sep 2003 06:22:36 -0000	1.21
@@ -600,7 +600,7 @@
 		BS2_SetPalette(0, 256, tmpPal, RDPAL_INSTANT);
 
 		while (1) {
-			PlayingSoundHandle handle;
+			PlayingSoundHandle handle = 0;
 
 			if (!text[textCounter])
 				break;





More information about the Scummvm-git-logs mailing list