From 8b1f80b6846e877d22376f4343faaf789b151e64 Mon Sep 17 00:00:00 2001 From: thilo Date: Sun, 26 Nov 2006 11:12:35 +0000 Subject: There's still a little bug in my recent change... git-svn-id: svn://svn.icculus.org/quake3/trunk@983 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/client/snd_openal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'code') diff --git a/code/client/snd_openal.c b/code/client/snd_openal.c index 85bc6a3..d375479 100644 --- a/code/client/snd_openal.c +++ b/code/client/snd_openal.c @@ -138,7 +138,7 @@ static sfxHandle_t S_AL_BufferFindFree( void ) // Got one if(knownSfx[i].filename[0] == '\0') { - if(i > numSfx) + if(i >= numSfx) numSfx = i + 1; return i; } -- cgit v1.2.3