mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-26 22:54:39 +00:00
Merge b3cf83bbf1
This commit is contained in:
parent
95d81733fc
commit
9c85e5eb77
@ -56,6 +56,7 @@ class CBaseTurret : public CBaseMonster
|
||||
public:
|
||||
void Spawn( void );
|
||||
virtual void Precache( void );
|
||||
void UpdateOnRemove();
|
||||
void KeyValue( KeyValueData *pkvd );
|
||||
void EXPORT TurretUse( CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value );
|
||||
|
||||
@ -279,6 +280,17 @@ void CBaseTurret::Precache()
|
||||
PRECACHE_SOUND( "turret/tu_alert.wav" );
|
||||
}
|
||||
|
||||
void CBaseTurret::UpdateOnRemove()
|
||||
{
|
||||
CBaseEntity::UpdateOnRemove();
|
||||
|
||||
if( m_pEyeGlow )
|
||||
{
|
||||
UTIL_Remove( m_pEyeGlow );
|
||||
m_pEyeGlow = 0;
|
||||
}
|
||||
}
|
||||
|
||||
#define TURRET_GLOW_SPRITE "sprites/flare3.spr"
|
||||
|
||||
void CTurret::Spawn()
|
||||
|
Loading…
x
Reference in New Issue
Block a user