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

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);