Valve: Fixed WEAPON_HANDGRENADE bounce sound
This commit is contained in:
parent
2ceb72c9e4
commit
c113cc1994
2 changed files with 4 additions and 4 deletions
|
@ -85,7 +85,7 @@ void w_handgrenade_throw(void)
|
||||||
if (other.takedamage == DAMAGE_YES) {
|
if (other.takedamage == DAMAGE_YES) {
|
||||||
Damage_Apply(other, self.owner, 15, WEAPON_HANDGRENADE, DMG_BLUNT);
|
Damage_Apply(other, self.owner, 15, WEAPON_HANDGRENADE, DMG_BLUNT);
|
||||||
} else {
|
} else {
|
||||||
Sound_Play(other, CHAN_BODY, "weapon_handgrenade.bounce");
|
Sound_Play(self, CHAN_BODY, "weapon_handgrenade.bounce");
|
||||||
}
|
}
|
||||||
self.frame = 0;
|
self.frame = 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,9 +34,9 @@ weapon_glock.fire
|
||||||
|
|
||||||
weapon_handgrenade.bounce
|
weapon_handgrenade.bounce
|
||||||
{
|
{
|
||||||
sample squeek/grenade_hit1.wav
|
sample weapons/grenade_hit1.wav
|
||||||
sample squeek/grenade_hit2.wav
|
sample weapons/grenade_hit2.wav
|
||||||
sample squeek/grenade_hit3.wav
|
sample weapons/grenade_hit3.wav
|
||||||
}
|
}
|
||||||
|
|
||||||
weapon_hornetgun.fire
|
weapon_hornetgun.fire
|
||||||
|
|
Loading…
Reference in a new issue