WEAPON_MP5: show the grenade icon in the obituary messages instead for the secondary fire.
This commit is contained in:
parent
3f1821a760
commit
33853accbe
1 changed files with 1 additions and 1 deletions
|
@ -242,7 +242,7 @@ w_mp5_secondary(player pl)
|
||||||
static void Grenade_ExplodeTouch(void) {
|
static void Grenade_ExplodeTouch(void) {
|
||||||
float dmg = Skill_GetValue("plr_9mmAR_grenade", 100);
|
float dmg = Skill_GetValue("plr_9mmAR_grenade", 100);
|
||||||
FX_Explosion(self.origin);
|
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) {
|
if (random() < 0.5) {
|
||||||
sound(self, 1, "weapons/explode3.wav", 1, ATTN_NORM);
|
sound(self, 1, "weapons/explode3.wav", 1, ATTN_NORM);
|
||||||
|
|
Loading…
Reference in a new issue