Skip to content

Commit

Permalink
There's still a little bug in my recent change...
Browse files Browse the repository at this point in the history
  • Loading branch information
Thilo Schulz committed Nov 26, 2006
1 parent 26cf8f2 commit 4502f86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/client/snd_openal.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 4502f86

Please sign in to comment.