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
1 changed files with 1 additions and 1 deletions

View File

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