From 36ed8eff869c5d0abc1d3da9e043a48a22bf563f Mon Sep 17 00:00:00 2001 From: themuffinator Date: Sun, 15 Sep 2024 00:42:05 +0100 Subject: [PATCH] silent chainfist idling --- src/g_items.cpp | 2 +- src/p_weapon.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/g_items.cpp b/src/g_items.cpp index bbb3e9c..69ca44e 100644 --- a/src/g_items.cpp +++ b/src/g_items.cpp @@ -3681,7 +3681,7 @@ model="models/weapons/g_chainf/tris.md2" /* vwep_model */ "#w_chainfist.md2", /* armor_info */ nullptr, /* tag */ 0, - /* precaches */ "weapons/sawidle.wav weapons/sawhit.wav weapons/sawslice.wav", + /* precaches */ "weapons/sawhit.wav weapons/sawslice.wav", }, /*QUAKED weapon_shotgun (.3 .3 1) (-16 -16 -16) (16 16 16) TRIGGER_SPAWN x x SUSPENDED x x x x NOT_EASY NOT_MEDIUM NOT_HARD NOT_DM NOT_COOP diff --git a/src/p_weapon.cpp b/src/p_weapon.cpp index bd91f57..c1daced 100644 --- a/src/p_weapon.cpp +++ b/src/p_weapon.cpp @@ -2364,7 +2364,7 @@ void Weapon_ChainFist(gentity_t *ent) { else if (ent->client->weaponstate == WEAPON_DROPPING) ent->client->weapon_sound = 0; else if (ent->client->pers.weapon->id == IT_WEAPON_CHAINFIST) - ent->client->weapon_sound = gi.soundindex("weapons/sawidle.wav"); + ent->client->weapon_sound = 0; } /*