aboutsummaryrefslogtreecommitdiffstats
path: root/code/client
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-12-02 00:14:24 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-12-02 00:14:24 +0000
commitb0cf36ea36bdf214026140d43356af5392f0b54c (patch)
tree69c83ce9388133daf8bd3db3e3c8d1de98d15008 /code/client
parent8d95c759cf6d9079507520555418706bc7c76d0e (diff)
downloadioquake3-aero-b0cf36ea36bdf214026140d43356af5392f0b54c.tar.gz
ioquake3-aero-b0cf36ea36bdf214026140d43356af5392f0b54c.zip
* Fix to an OpenAL "bug"
git-svn-id: svn://svn.icculus.org/quake3/trunk@405 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/client')
-rw-r--r--code/client/snd_openal.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/code/client/snd_openal.c b/code/client/snd_openal.c
index a04ac7e..f0f8adc 100644
--- a/code/client/snd_openal.c
+++ b/code/client/snd_openal.c
@@ -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?