game: fix spin_none,spin_zaxis physgun interactions
This commit is contained in:
parent
bf0062066d
commit
b3ef8242db
@ -83,7 +83,7 @@ public:
|
|||||||
virtual QAngle PreferredCarryAngles( void ) { return vec3_angle; }
|
virtual QAngle PreferredCarryAngles( void ) { return vec3_angle; }
|
||||||
virtual bool ForcePhysgunOpen( CBasePlayer *pPlayer ) { return false; }
|
virtual bool ForcePhysgunOpen( CBasePlayer *pPlayer ) { return false; }
|
||||||
virtual AngularImpulse PhysGunLaunchAngularImpulse() { return RandomAngularImpulse( -600, 600 ); }
|
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 )
|
virtual Vector PhysGunLaunchVelocity( const Vector &vecForward, float flMass )
|
||||||
{
|
{
|
||||||
return Pickup_DefaultPhysGunLaunchVelocity( vecForward, flMass );
|
return Pickup_DefaultPhysGunLaunchVelocity( vecForward, flMass );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user