Improve handgrenade throw physics.

This commit is contained in:
Andrey Akhmichin 2024-01-17 14:14:47 +05:00
parent b8e143f5ac
commit d77a7e4753
1 changed files with 3 additions and 3 deletions

View File

@ -140,9 +140,9 @@ void CHandGrenade::WeaponIdle( void )
else
angThrow.x = -10.0f + angThrow.x * ( ( 90.0f + 10.0f ) / 90.0f );
float flVel = ( 90.0f - angThrow.x ) * 4.0f;
if( flVel > 500.0f )
flVel = 500.0f;
float flVel = ( 90.0f - angThrow.x ) * 6.5f;
if( flVel > 1000.0f )
flVel = 1000.0f;
UTIL_MakeVectors( angThrow );