diff options
-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)) |