From dd918f106c9e33a99cb544f98f9de2e4939558c0 Mon Sep 17 00:00:00 2001 From: Xylemon Date: Wed, 18 Jan 2023 14:13:51 -0800 Subject: [PATCH] WEAPON_RAILGUN: Should use this sound call --- src/shared/w_railgun.qc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/shared/w_railgun.qc b/src/shared/w_railgun.qc index 9dc7013..d44ec25 100644 --- a/src/shared/w_railgun.qc +++ b/src/shared/w_railgun.qc @@ -111,9 +111,7 @@ w_railgun_primary(player pl) int r = (float)input_sequence % 3; Weapons_ViewAnimation(pl, RAILGUN_SHOOT); Weapons_ViewPunchAngle(pl, [-1,0,0]); - #ifndef CLIENT - Sound_Play(pl, CHAN_WEAPON, "weapon_railgun.fire"); - #endif + Weapons_Sound(pl, CHAN_WEAPON, "weapon_railgun.fire"); pl.w_attack_next = 0.4f; break; case AUTO_EMPTY: