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

8
dlls/tripmine.cpp

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

Loading…
Cancel
Save