GOB: Add a workaround for taking the music sheet from Dr. Dramish's car

svn-id: r55530
This commit is contained in:
Sven Hesse 2011-01-25 13:00:38 +00:00
parent d1b53b1b81
commit bf60f06105

View File

@ -124,6 +124,13 @@ void Inter_v6::o6_playVmdOrMusic() {
props.x, props.y, props.startFrame, props.lastFrame, props.x, props.y, props.startFrame, props.lastFrame,
props.palCmd, props.palStart, props.palEnd, props.flags); 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")) { if (!strcmp(fileName, "RIEN")) {
_vm->_vidPlayer->closeAll(); _vm->_vidPlayer->closeAll();
return; return;