Fixes mech sounds and other sound tweaks (#7220)

Fixed mech sounds and some other sounds becoming garbled due to a random frequency being picked.
    Made gunshots and flashbangs be heard farther and through walls again and not just via line of sight.
This commit is contained in:
fernerr
2019-10-21 22:19:33 +03:00
committed by Erki
parent 510a9a5895
commit 47a1b1d78f
6 changed files with 49 additions and 7 deletions
+3 -3
View File
@@ -335,7 +335,7 @@
if(silenced)
playsound(src, fire_sound, 10, 1)
else
playsound(src, fire_sound, 50, 1)
playsound(src, fire_sound, 75, 1, 5, 0.9, 1)
if (muzzle_flash)
set_light(muzzle_flash)
@@ -378,7 +378,7 @@
if(silenced)
playsound(user, fire_sound, 10, 1)
else
playsound(user, fire_sound, 50, 1)
playsound(user, fire_sound, 75, 1, 5, 0.9, 1)
if (playemote)
if(reflex)
@@ -490,7 +490,7 @@
if(silenced)
playsound(user, fire_sound, 10, 1)
else
playsound(user, fire_sound, 50, 1)
playsound(user, fire_sound, 75, 1, 5, 0.9, 1)
in_chamber.on_hit(M)