Fixed bug: Intro crashes if no voices wanted.
This commit is contained in:
parent
b3bbebfdb5
commit
2bef945e6f
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue