Merge branch 'tot' into mobile_hacks

This commit is contained in:
Andrey Akhmichin 2019-12-01 15:32:14 +05:00
commit d767fbc483
3 changed files with 0 additions and 15 deletions

View File

@ -111,8 +111,6 @@ BOOL CPython::Deploy()
pev->body = 0;
}
m_flSoundDelay = 0;
return DefaultDeploy( "models/v_357.mdl", "models/p_357.mdl", PYTHON_DRAW, "python", UseDecrement(), pev->body );
}
@ -128,8 +126,6 @@ void CPython::Holster( int skiplocal /* = 0 */ )
m_pPlayer->m_flNextAttack = UTIL_WeaponTimeBase() + 1.0f;
m_flTimeWeaponIdle = UTIL_WeaponTimeBase() + UTIL_SharedRandomFloat( m_pPlayer->random_seed, 10.0f, 15.0f );
SendWeaponAnim( PYTHON_HOLSTER );
m_flSoundDelay = 0;
}
void CPython::SecondaryAttack( void )

View File

@ -1633,9 +1633,3 @@ TYPEDESCRIPTION CSatchel::m_SaveData[] =
IMPLEMENT_SAVERESTORE( CSatchel, CBasePlayerWeapon )
TYPEDESCRIPTION CPython::m_SaveData[] =
{
DEFINE_FIELD( CPython, m_flSoundDelay, FIELD_TIME ),
};
IMPLEMENT_SAVERESTORE( CPython, CBasePlayerWeapon )

View File

@ -530,11 +530,6 @@ private:
class CPython : public CBasePlayerWeapon
{
public:
#ifndef CLIENT_DLL
int Save( CSave &save );
int Restore( CRestore &restore );
static TYPEDESCRIPTION m_SaveData[];
#endif
void Spawn( void );
void Precache( void );
int iItemSlot( void ) { return 2; }