diff --git a/dlls/CAd/massn.cpp b/dlls/CAd/massn.cpp index bd351566..09498566 100644 --- a/dlls/CAd/massn.cpp +++ b/dlls/CAd/massn.cpp @@ -888,12 +888,13 @@ Schedule_t *CMassn::GetScheduleOfType( int Type ) // CMassnRepel - when triggered, spawns a monster_nari_grunt // repelling down a line. //========================================================= -class CMassnRepel : public CHGruntRepel +class CMassnRepel : public CBaseMonster { public: - void Spawn(void); - void Precache(void); - void EXPORT RepelUse(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); + void Spawn( void ); + void Precache( void ); + void EXPORT RepelUse( CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value ); + int m_iSpriteTexture; // Don't save, precache }; LINK_ENTITY_TO_CLASS( monster_massn_repel, CMassnRepel ) diff --git a/dlls/hgrunt.cpp b/dlls/hgrunt.cpp index 6cc4f831..a46fa131 100644 --- a/dlls/hgrunt.cpp +++ b/dlls/hgrunt.cpp @@ -2192,6 +2192,14 @@ Schedule_t *CHGrunt::GetScheduleOfType( int Type ) // CHGruntRepel - when triggered, spawns a monster_human_grunt // repelling down a line. //========================================================= +class CHGruntRepel : public CBaseMonster +{ +public: + void Spawn(void); + void Precache(void); + void EXPORT RepelUse( CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value ); + int m_iSpriteTexture; // Don't save, precache +}; LINK_ENTITY_TO_CLASS( monster_grunt_repel, CHGruntRepel ) diff --git a/dlls/hgrunt.h b/dlls/hgrunt.h index 153b2bbb..3b07480c 100644 --- a/dlls/hgrunt.h +++ b/dlls/hgrunt.h @@ -171,18 +171,4 @@ typedef enum HGRUNT_SENT_TAUNT } HGRUNT_SENTENCE_TYPES; -//========================================================= -// CHGruntRepel - when triggered, spawns a monster_human_grunt -// repelling down a line. -//========================================================= - -class CHGruntRepel : public CBaseMonster -{ -public: - virtual void Spawn(void); - virtual void Precache(void); - virtual void EXPORT RepelUse(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value); - int m_iSpriteTexture; // Don't save, precache -}; - #endif // HGRUNT_H