Remove useless python-specific changes.

This commit is contained in:
Andrey Akhmichin 2019-12-01 15:15:31 +05:00
parent 3549f5c60a
commit c8db7ccf44
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

@ -1629,9 +1629,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

@ -526,11 +526,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; }