Playsound/explosion sounds are a bit more optimised. According to the RU lads it uses a lot less CPU so seemed worth doing.
Hearing sounds in tanks now gives proper directional sound, so this should:
Fix #16510
Little bit of code cleanup.
Note: This could be nicer but it turns out of 'clients_by_z lists are entirely nonfunctional, but I'll do that in a separate PR so its easier to look at.
Why It's Good For The Game
Better perf, directional sound in tank good.
Changelog
:cl:
qol: Sounds from outside tanks should now properly have directionality applied to them
code: Improved some sound code performance.
/:cl:
About The Pull Request
Playsound/explosion sounds are a bit more optimised. According to the RU lads it uses a lot less CPU so seemed worth doing.
Hearing sounds in tanks now gives proper directional sound, so this should: Fix #16510
Little bit of code cleanup.
Note: This could be nicer but it turns out of 'clients_by_z lists are entirely nonfunctional, but I'll do that in a separate PR so its easier to look at.
Why It's Good For The Game
Better perf, directional sound in tank good.
Changelog
:cl: qol: Sounds from outside tanks should now properly have directionality applied to them code: Improved some sound code performance. /:cl: