aboutsummaryrefslogtreecommitdiff
path: root/engines/gob
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob')
-rw-r--r--engines/gob/demoplayer.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/gob/demoplayer.cpp b/engines/gob/demoplayer.cpp
index 772d31ffbe..829ecc2e4d 100644
--- a/engines/gob/demoplayer.cpp
+++ b/engines/gob/demoplayer.cpp
@@ -86,6 +86,11 @@ void DemoPlayer::playVideo(const char *fileName) {
waitTime = atoi(spaceBack) * 100;
}
+ // WORKAROUND: The Inca2 demo wants to play cons2.imd, but that file doesn't exist.
+ // cons.imd does, however.
+ if ((_vm->getGameType() == kGameTypeInca2) && (!scumm_stricmp(file, "cons2.imd")))
+ strcpy(file, "cons.imd");
+
debugC(1, kDebugDemo, "Playing video \"%s\"", file);
// Playing the video