From f5bf84fa89d9567e72d0d46b77478f89e43aa285 Mon Sep 17 00:00:00 2001 From: Night Owl Date: Mon, 11 Dec 2017 17:29:54 +0500 Subject: [PATCH] Remove unneeded fields. --- dlls/CAd/massn.cpp | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/dlls/CAd/massn.cpp b/dlls/CAd/massn.cpp index 9648683b..6f612e5d 100644 --- a/dlls/CAd/massn.cpp +++ b/dlls/CAd/massn.cpp @@ -80,41 +80,18 @@ public: void IdleSound(void); void SpeakSentence(void); - int Save(CSave &save); - int Restore(CRestore &restore); - - //CBaseEntity *Kick(void); Schedule_t *GetSchedule(void); Schedule_t *GetScheduleOfType(int Type); int IRelationship(CBaseEntity *pTarget); CUSTOM_SCHEDULES; - static TYPEDESCRIPTION m_SaveData[]; static const char *pGruntSentences[]; }; LINK_ENTITY_TO_CLASS( monster_massn, CMassn ) -TYPEDESCRIPTION CMassn::m_SaveData[] = -{ - DEFINE_FIELD( CMassn, m_flNextGrenadeCheck, FIELD_TIME ), - DEFINE_FIELD( CMassn, m_flNextPainTime, FIELD_TIME ), - //DEFINE_FIELD( CMassn, m_flLastEnemySightTime, FIELD_TIME ), // don't save, go to zero - DEFINE_FIELD( CMassn, m_vecTossVelocity, FIELD_VECTOR ), - DEFINE_FIELD( CMassn, m_fThrowGrenade, FIELD_BOOLEAN ), - DEFINE_FIELD( CMassn, m_fStanding, FIELD_BOOLEAN ), - DEFINE_FIELD( CMassn, m_fFirstEncounter, FIELD_BOOLEAN ), - DEFINE_FIELD( CMassn, m_cClipSize, FIELD_INTEGER ), - DEFINE_FIELD( CMassn, m_voicePitch, FIELD_INTEGER ), - //DEFINE_FIELD( CShotgun, m_iBrassShell, FIELD_INTEGER ), - //DEFINE_FIELD( CShotgun, m_iShotgunShell, FIELD_INTEGER ), - DEFINE_FIELD( CMassn, m_iSentence, FIELD_INTEGER ), -}; - -IMPLEMENT_SAVERESTORE( CMassn, CSquadMonster ) - const char *CMassn::pGruntSentences[] = { "MN_GREN", // grenade scared grunt