From 493a29395f24c46a7611983b3c9c01b2ad02bd46 Mon Sep 17 00:00:00 2001 From: cypress Date: Mon, 20 Nov 2023 12:46:00 -0500 Subject: [PATCH] SERVER: Play ching.wav when purchasing Bowie Knife --- source/server/entities/wall_weapon.qc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/server/entities/wall_weapon.qc b/source/server/entities/wall_weapon.qc index 130e8ba..4cb7f5e 100644 --- a/source/server/entities/wall_weapon.qc +++ b/source/server/entities/wall_weapon.qc @@ -335,6 +335,7 @@ void () WallWeapon_TouchTrigger = } else { W_HideCrosshair(other); addmoney(other, -self.cost2, FALSE); + sound(other, 0, "sounds/misc/ching.wav", 1, 1); other.ach_tracker_coll++; if (self.enemy) { @@ -446,4 +447,4 @@ void() buy_weapon = ach_tracker_col2++; precache_sound("sounds/misc/ching.wav"); -}; \ No newline at end of file +};