diff options
author | Travis Howell | 2004-02-29 13:43:08 +0000 |
---|---|---|
committer | Travis Howell | 2004-02-29 13:43:08 +0000 |
commit | 807bc5e0fa341ebbe28742b412f8d319dd6b14ec (patch) | |
tree | 19e364d4aac5c31b6adaabfa6632b0865e08ed62 /scumm | |
parent | 80fd4bd4f0a12d26d9723339eaa346f9a96e2ed9 (diff) | |
download | scummvm-rg350-807bc5e0fa341ebbe28742b412f8d319dd6b14ec.tar.gz scummvm-rg350-807bc5e0fa341ebbe28742b412f8d319dd6b14ec.tar.bz2 scummvm-rg350-807bc5e0fa341ebbe28742b412f8d319dd6b14ec.zip |
Correct incorrect smush filename in Macintosh FT demo
svn-id: r13098
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/script_v6.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index a2c326a218..111b7f2196 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -2505,7 +2505,12 @@ void ScummEngine_v6::o6_kernelSetFunctions() { 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)) |