Quad sound for quadded hand grenades

This commit is contained in:
BjossiAlfreds 2019-10-01 21:10:39 +00:00
parent 2aa986cbb3
commit fe7ead0a29
1 changed files with 3 additions and 0 deletions

View File

@ -744,6 +744,9 @@ weapon_grenade_fire(edict_t *ent, qboolean held)
if (is_quad)
{
damage *= 4;
gi.sound(ent, CHAN_ITEM, gi.soundindex(
"items/damage3.wav"), 1, ATTN_NORM, 0);
}
VectorSet(offset, 8, 8, ent->viewheight - 8);