[Scummvm-cvs-logs] CVS: scummvm/scumm script_v6.cpp,1.293.2.4,1.293.2.5

Travis Howell kirben at users.sourceforge.net
Sun Feb 29 06:04:05 CET 2004


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

Modified Files:
      Tag: branch-0-6-0
	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.293.2.4
retrieving revision 1.293.2.5
diff -u -d -r1.293.2.4 -r1.293.2.5
--- script_v6.cpp	24 Feb 2004 00:44:16 -0000	1.293.2.4
+++ script_v6.cpp	29 Feb 2004 13:45:49 -0000	1.293.2.5
@@ -2516,7 +2516,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