game: fix spin_none,spin_zaxis physgun interactions
This commit is contained in:
parent
676b7ad327
commit
3a3dde7dd5
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue