diff options
author | Sven Hesse | 2011-01-25 13:00:38 +0000 |
---|---|---|
committer | Sven Hesse | 2011-01-25 13:00:38 +0000 |
commit | bf60f061052b1700038d2c7cc383d4a69390ae8c (patch) | |
tree | bb941865a2f51d18fd89f55d7ac0d524e8b4ec68 /engines/gob/inter_v6.cpp | |
parent | d1b53b1b81c507153ac9bd8ac3fe643926e6364d (diff) | |
download | scummvm-rg350-bf60f061052b1700038d2c7cc383d4a69390ae8c.tar.gz scummvm-rg350-bf60f061052b1700038d2c7cc383d4a69390ae8c.tar.bz2 scummvm-rg350-bf60f061052b1700038d2c7cc383d4a69390ae8c.zip |
GOB: Add a workaround for taking the music sheet from Dr. Dramish's car
svn-id: r55530
Diffstat (limited to 'engines/gob/inter_v6.cpp')
-rw-r--r-- | engines/gob/inter_v6.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/gob/inter_v6.cpp b/engines/gob/inter_v6.cpp index 7b7ea06cf7..999ff4b0a4 100644 --- a/engines/gob/inter_v6.cpp +++ b/engines/gob/inter_v6.cpp @@ -124,6 +124,13 @@ void Inter_v6::o6_playVmdOrMusic() { props.x, props.y, props.startFrame, props.lastFrame, props.palCmd, props.palStart, props.palEnd, props.flags); + // WORKAROUND: When taking the music sheet from Dr. Dramish's car, + // the video that lets the sheet vanish is missing. We'll + // play the one where the sheet is already gone instead. + if (!strcmp(fileName, "MXRAMPART") && + !scumm_stricmp(_vm->_game->_curTotFile, "EMAM2013.TOT")) + strcpy(fileName, "PLCOFDR2"); + if (!strcmp(fileName, "RIEN")) { _vm->_vidPlayer->closeAll(); return; |