Night Owl 8 years ago
parent
commit
95d81733fc
  1. 8
      dlls/tripmine.cpp

8
dlls/tripmine.cpp

@ -43,6 +43,7 @@ class CTripmineGrenade : public CGrenade @@ -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 ) @@ -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

Loading…
Cancel
Save