Fixed bug: Intro crashes if no voices wanted.

This commit is contained in:
johns 2002-03-13 16:45:26 +00:00
parent b3bbebfdb5
commit 2bef945e6f

View file

@ -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;