WEAPON_RAILGUN: Should use this sound call
This commit is contained in:
parent
425d1d503e
commit
dd918f106c
|
@ -111,9 +111,7 @@ w_railgun_primary(player pl)
|
||||||
int r = (float)input_sequence % 3;
|
int r = (float)input_sequence % 3;
|
||||||
Weapons_ViewAnimation(pl, RAILGUN_SHOOT);
|
Weapons_ViewAnimation(pl, RAILGUN_SHOOT);
|
||||||
Weapons_ViewPunchAngle(pl, [-1,0,0]);
|
Weapons_ViewPunchAngle(pl, [-1,0,0]);
|
||||||
#ifndef CLIENT
|
Weapons_Sound(pl, CHAN_WEAPON, "weapon_railgun.fire");
|
||||||
Sound_Play(pl, CHAN_WEAPON, "weapon_railgun.fire");
|
|
||||||
#endif
|
|
||||||
pl.w_attack_next = 0.4f;
|
pl.w_attack_next = 0.4f;
|
||||||
break;
|
break;
|
||||||
case AUTO_EMPTY:
|
case AUTO_EMPTY:
|
||||||
|
|
Loading…
Reference in New Issue