mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-23 21:24:27 +00:00
Do not break Save/Restore.
This commit is contained in:
parent
6b40dbd7e8
commit
9b7e267a9e
@ -888,12 +888,13 @@ Schedule_t *CMassn::GetScheduleOfType( int Type )
|
|||||||
// CMassnRepel - when triggered, spawns a monster_nari_grunt
|
// CMassnRepel - when triggered, spawns a monster_nari_grunt
|
||||||
// repelling down a line.
|
// repelling down a line.
|
||||||
//=========================================================
|
//=========================================================
|
||||||
class CMassnRepel : public CHGruntRepel
|
class CMassnRepel : public CBaseMonster
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
void Spawn(void);
|
void Spawn( void );
|
||||||
void Precache(void);
|
void Precache( void );
|
||||||
void EXPORT RepelUse(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value);
|
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 )
|
LINK_ENTITY_TO_CLASS( monster_massn_repel, CMassnRepel )
|
||||||
|
@ -2192,6 +2192,14 @@ Schedule_t *CHGrunt::GetScheduleOfType( int Type )
|
|||||||
// CHGruntRepel - when triggered, spawns a monster_human_grunt
|
// CHGruntRepel - when triggered, spawns a monster_human_grunt
|
||||||
// repelling down a line.
|
// 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 )
|
LINK_ENTITY_TO_CLASS( monster_grunt_repel, CHGruntRepel )
|
||||||
|
|
||||||
|
@ -171,18 +171,4 @@ typedef enum
|
|||||||
HGRUNT_SENT_TAUNT
|
HGRUNT_SENT_TAUNT
|
||||||
} HGRUNT_SENTENCE_TYPES;
|
} 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
|
#endif // HGRUNT_H
|
||||||
|
Loading…
x
Reference in New Issue
Block a user