[Scummvm-cvs-logs] CVS: scummvm/scumm script_v8.cpp,2.124,2.125

Jonathan Gray khalek at users.sourceforge.net
Sat Jan 18 17:04:10 CET 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv21382

Modified Files:
	script_v8.cpp 
Log Message:
make v8 smush playing honour _noSubtitles

Index: script_v8.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v8.cpp,v
retrieving revision 2.124
retrieving revision 2.125
diff -u -d -r2.124 -r2.125
--- script_v8.cpp	18 Jan 2003 15:26:37 -0000	2.124
+++ script_v8.cpp	19 Jan 2003 01:03:29 -0000	2.125
@@ -1370,6 +1370,10 @@
 	
 	ScummRenderer * sr = new ScummRenderer(this, 83);
 	SmushPlayer * sp = new SmushPlayer(sr);
+
+	if (_noSubtitles)
+		sp->hide("subtitles");
+	
 	sp->play((char*)_scriptPointer, getGameDataPath());
 	
 	delete sp;





More information about the Scummvm-git-logs mailing list