[HL25] Backport change to hand grenade arc throw

This commit is contained in:
Joël Troch 2024-08-28 14:05:03 +02:00
parent 37ed1d9b39
commit ae352a633d

View file

@ -130,9 +130,10 @@ void CHandGrenade::WeaponIdle()
else
angThrow.x = -10 + angThrow.x * ((90 + 10) / 90.0);
float flVel = (90 - angThrow.x) * 4;
if (flVel > 500)
flVel = 500;
static float flMultiplier = 6.5f;
float flVel = (90 - angThrow.x) * flMultiplier;
if (flVel > 1000)
flVel = 1000;
UTIL_MakeVectors(angThrow);