Skip to content

Commit 68241ff

Browse files
committed
Merge pull request OpenXcom#652 from GixG/BUG207
Fix: Bug report#207 & Bug report#271 (partial fix)
2 parents b689268 + 8f74285 commit 68241ff

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/Menu/StartState.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -462,8 +462,9 @@ void StartState::think()
462462

463463
// loading done? let's play intro!
464464
std::string introFile = CrossPlatform::getDataFile("UFOINTRO/UFOINT.FLI");
465-
std::string introSoundFile = CrossPlatform::getDataFile("SOUND/INTRO.CAT");
466-
if (Options::getBool("playIntro") && CrossPlatform::fileExists(introFile) && CrossPlatform::fileExists(introSoundFile))
465+
std::string introSoundFileDOS = CrossPlatform::getDataFile("SOUND/INTRO.CAT");
466+
std::string introSoundFileWin = CrossPlatform::getDataFile("SOUND/SAMPLE3.CAT");
467+
if (Options::getBool("playIntro") && CrossPlatform::fileExists(introFile) && (CrossPlatform::fileExists(introSoundFileDOS) || CrossPlatform::fileExists(introSoundFileWin)))
467468
{
468469
audioSequence = new AudioSequence(_game->getResourcePack());
469470
Flc::flc.realscreen = _game->getScreen();

0 commit comments

Comments
 (0)