r983 - trunk/code/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun Nov 26 06:12:35 EST 2006


Author: thilo
Date: 2006-11-26 06:12:35 -0500 (Sun, 26 Nov 2006)
New Revision: 983

Modified:
   trunk/code/client/snd_openal.c
Log:
There's still a little bug in my recent change...


Modified: trunk/code/client/snd_openal.c
===================================================================
--- trunk/code/client/snd_openal.c	2006-11-25 13:35:23 UTC (rev 982)
+++ trunk/code/client/snd_openal.c	2006-11-26 11:12:35 UTC (rev 983)
@@ -138,7 +138,7 @@
 		// Got one
 		if(knownSfx[i].filename[0] == '\0')
 		{
-			if(i > numSfx)
+			if(i >= numSfx)
 				numSfx = i + 1;
 			return i;
 		}




More information about the quake3-commits mailing list