diff --git a/sp/src/game/server/hl2/weapon_physcannon.cpp b/sp/src/game/server/hl2/weapon_physcannon.cpp index 19ebb8c3..8a246a2d 100644 --- a/sp/src/game/server/hl2/weapon_physcannon.cpp +++ b/sp/src/game/server/hl2/weapon_physcannon.cpp @@ -2725,7 +2725,7 @@ CWeaponPhysCannon::FindObjectResult_t CWeaponPhysCannon::FindObject( void ) CPhysicsProp* pProp = dynamic_cast(pObj); if (pProp) { - pProp->OnPhysGunPull( pOwner, pullDir ); + pProp->OnPhysGunPull( pOwner ); } // Nudge it towards us diff --git a/sp/src/game/server/props.cpp b/sp/src/game/server/props.cpp index d7fcf599..33aba263 100644 --- a/sp/src/game/server/props.cpp +++ b/sp/src/game/server/props.cpp @@ -3395,7 +3395,7 @@ void CPhysicsProp::OnPhysGunPickup( CBasePlayer *pPhysGunUser, PhysGunPickup_t r //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- -void CPhysicsProp::OnPhysGunPull( CBasePlayer* pPhysGunUser, Vector pullDir ) { +void CPhysicsProp::OnPhysGunPull( CBasePlayer* pPhysGunUser ) { m_OnPhysGunPull.FireOutput(pPhysGunUser, this); } diff --git a/sp/src/game/server/props.h b/sp/src/game/server/props.h index c36f11bb..5c57824d 100644 --- a/sp/src/game/server/props.h +++ b/sp/src/game/server/props.h @@ -413,7 +413,7 @@ public: void EnableMotion( void ); bool CanBePickedUpByPhyscannon( void ); void OnPhysGunPickup( CBasePlayer *pPhysGunUser, PhysGunPickup_t reason ); - void OnPhysGunPull( CBasePlayer *pPhysGunUser, Vector pullDir ); + void OnPhysGunPull( CBasePlayer *pPhysGunUser ); void OnPhysGunDrop( CBasePlayer *pPhysGunUser, PhysGunDrop_t reason ); bool GetPropDataAngles( const char *pKeyName, QAngle &vecAngles );