mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-23 12:32:09 +00:00
There's still a little bug in my recent change...
This commit is contained in:
parent
26cf8f2987
commit
4502f863d4
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ static sfxHandle_t S_AL_BufferFindFree( void )
|
||||||
// Got one
|
// Got one
|
||||||
if(knownSfx[i].filename[0] == '\0')
|
if(knownSfx[i].filename[0] == '\0')
|
||||||
{
|
{
|
||||||
if(i > numSfx)
|
if(i >= numSfx)
|
||||||
numSfx = i + 1;
|
numSfx = i + 1;
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue