game: fix spin_none,spin_zaxis physgun interactions

This commit is contained in:
nillerusr 2022-06-26 22:42:13 +03:00
parent bf0062066d
commit b3ef8242db

View file

@ -83,7 +83,7 @@ public:
virtual QAngle PreferredCarryAngles( void ) { return vec3_angle; }
virtual bool ForcePhysgunOpen( CBasePlayer *pPlayer ) { return false; }
virtual AngularImpulse PhysGunLaunchAngularImpulse() { return RandomAngularImpulse( -600, 600 ); }
virtual bool ShouldPuntUseLaunchForces( PhysGunForce_t reason ) { return false; }
virtual bool ShouldPuntUseLaunchForces( PhysGunForce_t reason ) { return reason == PHYSGUN_FORCE_LAUNCHED; }
virtual Vector PhysGunLaunchVelocity( const Vector &vecForward, float flMass )
{
return Pickup_DefaultPhysGunLaunchVelocity( vecForward, flMass );