Created attachment 3263[details]
The patch for aforementioned fix.
The OpenAL hack for thirdperson detection is a bit wrong as the fixme implies...
It seems the standard sound implementation sets the listener origin in S_Base_Respatialize, so why can't this be done in OpenAL and checked upon in S_AL_HearingThroughEntity?
Patch included.
Ah, yeah last listener number should be check in S_AL_HearingThroughEntity (so it works correctly when following a client). Fixed in r2325.
The rest of the patch makes player's sounds full volume in third person, which is what the Base sound system does. I think this is actually points out a bug in Base sound system. The camera is the listener, so when in third person the player's sounds should have distance. Made Base sound system check if third person like OpenAL in r2326.
Thanks.
Created attachment 3263 [details] The patch for aforementioned fix. The OpenAL hack for thirdperson detection is a bit wrong as the fixme implies... It seems the standard sound implementation sets the listener origin in S_Base_Respatialize, so why can't this be done in OpenAL and checked upon in S_AL_HearingThroughEntity? Patch included.