From ac8b3d4480d99a3435ab5d7c0c9456a6f279bca8 Mon Sep 17 00:00:00 2001 From: Marco Hladik Date: Mon, 16 Sep 2019 08:13:59 +0200 Subject: [PATCH] Opposing Force: Nerf the whole idea that WEAPON_M249 can help make you fly for a bit. mmkay. --- src/shared/gearbox/w_m249.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/shared/gearbox/w_m249.c b/src/shared/gearbox/w_m249.c index 3ee2299c..187d2869 100644 --- a/src/shared/gearbox/w_m249.c +++ b/src/shared/gearbox/w_m249.c @@ -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