mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-04-08 19:12:51 +00:00
Pass CBasePlayer in PreferredCarryAngles
This commit is contained in:
parent
a62efecf62
commit
dbc11a2676
1 changed files with 4 additions and 0 deletions
|
@ -67,7 +67,11 @@ public:
|
|||
virtual void OnPhysGunDrop( CBasePlayer *pPhysGunUser, PhysGunDrop_t Reason );
|
||||
|
||||
bool HasPreferredCarryAnglesForPlayer( CBasePlayer *pPlayer );
|
||||
#ifdef HL2MP
|
||||
virtual QAngle PreferredCarryAngles( CBasePlayer *pPlayer ) { return m_angPreferredCarryAngles; }
|
||||
#else
|
||||
virtual QAngle PreferredCarryAngles( void ) { return m_angPreferredCarryAngles; }
|
||||
#endif
|
||||
|
||||
// inputs
|
||||
void InputWake( inputdata_t &inputdata );
|
||||
|
|
Loading…
Reference in a new issue