Enable monsters, grenade and func_break

This commit is contained in:
mittorn 2016-03-23 20:44:22 +06:00
parent 19a4378397
commit 67b7e91461
3 changed files with 13 additions and 0 deletions

View File

@ -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.
};

View File

@ -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

View File

@ -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.
};