[Scummvm-cvs-logs] CVS: scummvm/scumm script_v6.cpp,1.311,1.312

Travis Howell kirben at users.sourceforge.net
Sun Feb 29 06:02:00 CET 2004


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1563/scumm

Modified Files:
	script_v6.cpp 
Log Message:

Correct incorrect smush filename in Macintosh FT demo


Index: script_v6.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v6.cpp,v
retrieving revision 1.311
retrieving revision 1.312
diff -u -d -r1.311 -r1.312
--- script_v6.cpp	24 Feb 2004 01:50:13 -0000	1.311
+++ script_v6.cpp	29 Feb 2004 13:43:08 -0000	1.312
@@ -2505,7 +2505,12 @@
 				if (args[1] == 0) {
 					SmushPlayer *sp = new SmushPlayer(this, speed);
 
-					sp->play((char *)getStringAddressVar(VAR_VIDEONAME), getGameDataPath());
+					// Correct incorrect smush filename in Macintosh FT demo
+					if ((_gameId == GID_FT) && (_features & GF_DEMO) && (_features & GF_MACINTOSH) &&
+					    (strcmp((char *)getStringAddressVar(VAR_VIDEONAME), "jumpgorge.san") == 0))
+						sp->play("jumpgorg.san", getGameDataPath());
+					else
+						sp->play((char *)getStringAddressVar(VAR_VIDEONAME), getGameDataPath());
 					delete sp;
 				} else if (_gameId == GID_FT) {
 					const int insaneVarNum = ((_features & GF_DEMO) && (_features & GF_PC)) 





More information about the Scummvm-git-logs mailing list