[Scummvm-cvs-logs] CVS: scummvm insane.cpp,1.48,1.49

Pawe? Ko?odziejski aquadran at users.sourceforge.net
Thu Jul 18 23:38:03 CEST 2002


Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv10002

Modified Files:
	insane.cpp 
Log Message:
DIG: turn off subtitles in SMUSH if _noSubtitles is set

Index: insane.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/insane.cpp,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- insane.cpp	16 Jul 2002 21:03:14 -0000	1.48
+++ insane.cpp	19 Jul 2002 06:37:28 -0000	1.49
@@ -1254,7 +1254,9 @@
                printf("getStringTRES(%d)\n", READ_LE_UINT16(_cur + 16));
                return;
        }
-
+	if ((sm->_noSubtitles) && (READ_LE_UINT16(_cur + 4) != 0))
+		return;
+	
 	byte * txt = getStringTRES (READ_LE_UINT16(_cur + 16));
 	drawStringTRES (READ_LE_UINT16(_cur), READ_LE_UINT16(_cur + 2), txt);
 	if (txt != NULL)





More information about the Scummvm-git-logs mailing list