mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
Merge pull request #474 from BjossiAlfreds/grenquad
Quad sound for quadded hand grenades
This commit is contained in:
commit
5fff2f3a25
1 changed files with 3 additions and 0 deletions
|
@ -663,6 +663,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);
|
||||
|
|
Loading…
Reference in a new issue