From 2bef945e6fce599f768085f2610d5fb60fb4a4f3 Mon Sep 17 00:00:00 2001 From: johns <> Date: Wed, 13 Mar 2002 16:45:26 +0000 Subject: [PATCH] Fixed bug: Intro crashes if no voices wanted. --- src/game/intro.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/game/intro.cpp b/src/game/intro.cpp index 0eea8c734..104b09f02 100644 --- a/src/game/intro.cpp +++ b/src/game/intro.cpp @@ -211,7 +211,9 @@ global void ShowIntro(const Intro *intro) CallbackMusicOff(); StopMusic(); - PlayFile(intro->VoiceFile1); + if( intro->VoiceFile1 ) { + PlayFile(intro->VoiceFile1); + } x=(VideoWidth-640)/2; stage=line=0;