This commit is contained in:
Night Owl 2017-07-05 03:41:48 +05:00
parent 6379954153
commit 95d81733fc
1 changed files with 8 additions and 0 deletions

View File

@ -43,6 +43,7 @@ class CTripmineGrenade : public CGrenade
{
void Spawn( void );
void Precache( void );
void UpdateOnRemove();
virtual int Save( CSave &save );
virtual int Restore( CRestore &restore );
@ -148,6 +149,13 @@ void CTripmineGrenade::Precache( void )
PRECACHE_SOUND( "weapons/mine_charge.wav" );
}
void CTripmineGrenade::UpdateOnRemove()
{
CBaseEntity::UpdateOnRemove();
KillBeam();
}
void CTripmineGrenade::WarningThink( void )
{
// play warning sound