mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-10 14:52:00 +00:00
* Fix to an OpenAL "bug"
This commit is contained in:
parent
796ba11301
commit
0f8c177cf3
1 changed files with 5 additions and 0 deletions
|
@ -653,12 +653,17 @@ srcHandle_t S_AL_SrcAlloc( alSrcPriority_t priority, int entnum, int channel )
|
|||
}
|
||||
}
|
||||
|
||||
// The channel system is not actually adhered to by baseq3, and not
|
||||
// implemented in snd_dma.c, so while the following is strictly correct, it
|
||||
// causes incorrect behaviour versus defacto baseq3
|
||||
#if 0
|
||||
// Is it an exact match, and not on channel 0?
|
||||
if((srcList[i].entity == entnum) && (srcList[i].channel == channel) && (channel != 0))
|
||||
{
|
||||
S_AL_SrcKill(i);
|
||||
return i;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
// Do we have an empty one?
|
||||
|
|
Loading…
Reference in a new issue