Browse Source

game: fix spin_none,spin_zaxis physgun interactions

pull/77/head
nillerusr 2 years ago
parent
commit
b3ef8242db
  1. 2
      game/server/player_pickup.h

2
game/server/player_pickup.h

@ -83,7 +83,7 @@ public: @@ -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 );

Loading…
Cancel
Save