From 4502f863d4dd69a3ea289cf63c35bef1dae072a2 Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Sun, 26 Nov 2006 11:12:35 +0000 Subject: [PATCH] There's still a little bug in my recent change... --- code/client/snd_openal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/client/snd_openal.c b/code/client/snd_openal.c index 85bc6a37..d375479f 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; }