diff options
author | thilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-11-23 11:10:30 +0000 |
---|---|---|
committer | thilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-11-23 11:10:30 +0000 |
commit | e193002cd918847485deec24f2f17f1585000d99 (patch) | |
tree | 95745d03a9e0d595ac60885a3b509540941972b9 /code/client | |
parent | abccda0c162992831df8ae478b15d1c83dfac5a8 (diff) | |
download | ioquake3-aero-e193002cd918847485deec24f2f17f1585000d99.tar.gz ioquake3-aero-e193002cd918847485deec24f2f17f1585000d99.zip |
Fix bug in parameter checking. Thanks to Neil Toronto for reporting.
git-svn-id: svn://svn.icculus.org/quake3/trunk@979 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/client')
-rw-r--r-- | code/client/snd_openal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/code/client/snd_openal.c b/code/client/snd_openal.c index 4f67f35..42ce955 100644 --- a/code/client/snd_openal.c +++ b/code/client/snd_openal.c @@ -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 |