mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-04-01 07:19:04 +03:00
removed pullDir
parameter from OnPhysGunPull
This commit is contained in:
parent
02e232babf
commit
f484aa7ebc
@ -2725,7 +2725,7 @@ CWeaponPhysCannon::FindObjectResult_t CWeaponPhysCannon::FindObject( void )
|
|||||||
|
|
||||||
CPhysicsProp* pProp = dynamic_cast<CPhysicsProp*>(pObj);
|
CPhysicsProp* pProp = dynamic_cast<CPhysicsProp*>(pObj);
|
||||||
if (pProp) {
|
if (pProp) {
|
||||||
pProp->OnPhysGunPull( pOwner, pullDir );
|
pProp->OnPhysGunPull( pOwner );
|
||||||
}
|
}
|
||||||
|
|
||||||
// Nudge it towards us
|
// Nudge it towards us
|
||||||
|
@ -3395,7 +3395,7 @@ void CPhysicsProp::OnPhysGunPickup( CBasePlayer *pPhysGunUser, PhysGunPickup_t r
|
|||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// Purpose:
|
// Purpose:
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
void CPhysicsProp::OnPhysGunPull( CBasePlayer* pPhysGunUser, Vector pullDir ) {
|
void CPhysicsProp::OnPhysGunPull( CBasePlayer* pPhysGunUser ) {
|
||||||
m_OnPhysGunPull.FireOutput(pPhysGunUser, this);
|
m_OnPhysGunPull.FireOutput(pPhysGunUser, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -413,7 +413,7 @@ public:
|
|||||||
void EnableMotion( void );
|
void EnableMotion( void );
|
||||||
bool CanBePickedUpByPhyscannon( void );
|
bool CanBePickedUpByPhyscannon( void );
|
||||||
void OnPhysGunPickup( CBasePlayer *pPhysGunUser, PhysGunPickup_t reason );
|
void OnPhysGunPickup( CBasePlayer *pPhysGunUser, PhysGunPickup_t reason );
|
||||||
void OnPhysGunPull( CBasePlayer *pPhysGunUser, Vector pullDir );
|
void OnPhysGunPull( CBasePlayer *pPhysGunUser );
|
||||||
void OnPhysGunDrop( CBasePlayer *pPhysGunUser, PhysGunDrop_t reason );
|
void OnPhysGunDrop( CBasePlayer *pPhysGunUser, PhysGunDrop_t reason );
|
||||||
|
|
||||||
bool GetPropDataAngles( const char *pKeyName, QAngle &vecAngles );
|
bool GetPropDataAngles( const char *pKeyName, QAngle &vecAngles );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user