This commit is contained in:
Night Owl 2017-07-05 16:42:08 +05:00
parent 3ad3004dd9
commit 740a5a2c31
2 changed files with 12 additions and 0 deletions

View File

@ -1557,6 +1557,13 @@ TYPEDESCRIPTION CEgon::m_SaveData[] =
IMPLEMENT_SAVERESTORE( CEgon, CBasePlayerWeapon )
TYPEDESCRIPTION CHgun::m_SaveData[] =
{
DEFINE_FIELD( CHgun, m_flRechargeTime, FIELD_FLOAT ),
};
IMPLEMENT_SAVERESTORE( CHgun, CBasePlayerWeapon )
TYPEDESCRIPTION CSatchel::m_SaveData[] =
{
DEFINE_FIELD( CSatchel, m_chargeReady, FIELD_INTEGER ),

View File

@ -841,6 +841,11 @@ private:
class CHgun : 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 4; }