WEAPON_MP5: show the grenade icon in the obituary messages instead for the secondary fire.

This commit is contained in:
Marco Cawthorne 2022-11-08 20:05:10 -08:00
parent 3f1821a760
commit 33853accbe
Signed by: eukara
GPG Key ID: CE2032F0A2882A22
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ w_mp5_secondary(player pl)
static void Grenade_ExplodeTouch(void) {
float dmg = Skill_GetValue("plr_9mmAR_grenade", 100);
FX_Explosion(self.origin);
Damage_Radius(self.origin, self.owner, dmg, dmg * 2.5f, TRUE, WEAPON_MP5);
Damage_Radius(self.origin, self.owner, dmg, dmg * 2.5f, TRUE, WEAPON_HANDGRENADE);
if (random() < 0.5) {
sound(self, 1, "weapons/explode3.wav", 1, ATTN_NORM);