[HL25] Backport change to hand grenade arc throw
This commit is contained in:
parent
37ed1d9b39
commit
ae352a633d
1 changed files with 4 additions and 3 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue