mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
Fix bug in parameter checking. Thanks to Neil Toronto for reporting.
This commit is contained in:
parent
9563aec49b
commit
d23e7a1521
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue