aboutsummaryrefslogtreecommitdiffstats
path: root/code
diff options
context:
space:
mode:
authorthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-11-26 11:12:35 +0000
committerthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-11-26 11:12:35 +0000
commit8b1f80b6846e877d22376f4343faaf789b151e64 (patch)
treeafce25019765302149cdcefa108c801555a3dff4 /code
parenta18a888f41a3089d05716aaedde9146bbbff3027 (diff)
downloadioquake3-aero-8b1f80b6846e877d22376f4343faaf789b151e64.tar.gz
ioquake3-aero-8b1f80b6846e877d22376f4343faaf789b151e64.zip
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
Diffstat (limited to 'code')
-rw-r--r--code/client/snd_openal.c2
1 files changed, 1 insertions, 1 deletions
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;
}