mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-11 15:38:12 +00:00
Enable monsters, grenade and func_break
This commit is contained in:
parent
19a4378397
commit
67b7e91461
@ -330,6 +330,10 @@ public:
|
||||
|
||||
BOOL ExitScriptedSequence( );
|
||||
BOOL CineCleanup( );
|
||||
virtual bool TouchGravGun( CBaseEntity *attacker, int stage )
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
CBaseEntity* DropItem ( char *pszItemName, const Vector &vecPos, const Vector &vecAng );// drop an item.
|
||||
};
|
||||
|
@ -69,6 +69,10 @@ public:
|
||||
float m_angle;
|
||||
int m_iszGibModel;
|
||||
int m_iszSpawnObject;
|
||||
bool TouchGravGun( CBaseEntity *attacker, int stage )
|
||||
{
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
#endif // FUNC_BREAK_H
|
||||
|
@ -51,6 +51,11 @@ public:
|
||||
virtual void BounceSound( void );
|
||||
virtual int BloodColor( void ) { return DONT_BLEED; }
|
||||
virtual void Killed( entvars_t *pevAttacker, int iGib );
|
||||
virtual bool TouchGravGun( CBaseEntity *attacker, int stage )
|
||||
{
|
||||
pev->owner = attacker->edict();
|
||||
return true;
|
||||
}
|
||||
|
||||
BOOL m_fRegisteredSound;// whether or not this grenade has issued its DANGER sound to the world sound list yet.
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user