From bf60f061052b1700038d2c7cc383d4a69390ae8c Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Tue, 25 Jan 2011 13:00:38 +0000 Subject: GOB: Add a workaround for taking the music sheet from Dr. Dramish's car svn-id: r55530 --- engines/gob/inter_v6.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'engines/gob/inter_v6.cpp') 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; -- cgit v1.2.3