Fix bug in parameter checking. Thanks to Neil Toronto for reporting.

This commit is contained in:
Thilo Schulz 2006-11-23 11:10:30 +00:00
parent 9563aec49b
commit d23e7a1521

View file

@ -1528,7 +1528,7 @@ void S_AL_StartBackgroundTrack( const char *intro, const char *loop )
// Stop any existing music that might be playing // Stop any existing music that might be playing
S_AL_StopBackgroundTrack(); S_AL_StopBackgroundTrack();
if((!intro || !*intro) && (!intro || !*intro)) if((!intro || !*intro) && (!loop || !*loop))
return; return;
// Allocate a musicSource // Allocate a musicSource