mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-13 00:24:10 +00:00
Avoid srcList[-1] in snd_openal.c
This commit is contained in:
parent
a740ba47dd
commit
b8ee77cecc
1 changed files with 2 additions and 1 deletions
|
@ -900,7 +900,8 @@ static void S_AL_NewLoopMaster(src_t *rmSource, qboolean iskilled)
|
||||||
S_AL_SaveLoopPos(rmSource, rmSource->alSource);
|
S_AL_SaveLoopPos(rmSource, rmSource->alSource);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(rmSource == &srcList[curSfx->masterLoopSrc])
|
else if(curSfx->masterLoopSrc != -1 &&
|
||||||
|
rmSource == &srcList[curSfx->masterLoopSrc])
|
||||||
{
|
{
|
||||||
int firstInactive = -1;
|
int firstInactive = -1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue