Opposing Force: Nerf the whole idea that WEAPON_M249 can help make

you fly for a bit. mmkay.
This commit is contained in:
Marco Cawthorne 2019-09-16 08:13:59 +02:00
parent 577bd0bd19
commit ac8b3d4480
1 changed files with 5 additions and 1 deletions

View File

@ -128,6 +128,7 @@ void
w_m249_primary(void)
{
player pl = (player)self;
vector push;
if (pl.a_ammo3 == 1) {
w_m249_release();
@ -150,7 +151,10 @@ w_m249_primary(void)
#endif
Weapons_ViewAnimation(M249_FIRE);
pl.velocity += v_forward * -64;
push = v_forward * -64;
push[2] *= 0.25f; /* gravity duh */
pl.velocity += push;
/* actual firing */
#ifdef CSQC