mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-03-11 13:01:12 +00:00
Merge 29947a0558
This commit is contained in:
parent
6379954153
commit
95d81733fc
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user