r979 - trunk/code/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Nov 23 06:10:30 EST 2006


Author: thilo
Date: 2006-11-23 06:10:30 -0500 (Thu, 23 Nov 2006)
New Revision: 979

Modified:
   trunk/code/client/snd_openal.c
Log:
Fix bug in parameter checking. Thanks to Neil Toronto for reporting.


Modified: trunk/code/client/snd_openal.c
===================================================================
--- trunk/code/client/snd_openal.c	2006-11-22 13:55:22 UTC (rev 978)
+++ trunk/code/client/snd_openal.c	2006-11-23 11:10:30 UTC (rev 979)
@@ -1528,7 +1528,7 @@
 	// 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




More information about the quake3-commits mailing list