Skip to content

Commit

Permalink
silent chainfist idling
Browse files Browse the repository at this point in the history
  • Loading branch information
themuffinator committed Sep 14, 2024
1 parent a33e647 commit 36ed8ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/g_items.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/p_weapon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/*
Expand Down

0 comments on commit 36ed8ef

Please sign in to comment.