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; }