|
|
|
@ -410,7 +410,7 @@ LINK_ENTITY_TO_CLASS( trip_beam, CTripBeam )
@@ -410,7 +410,7 @@ LINK_ENTITY_TO_CLASS( trip_beam, CTripBeam )
|
|
|
|
|
void CTripBeam::Spawn( void ) |
|
|
|
|
{ |
|
|
|
|
CLightning::Spawn(); |
|
|
|
|
SetTouch( &TriggerTouch ); |
|
|
|
|
SetTouch( &CLightning::TriggerTouch ); |
|
|
|
|
pev->solid = SOLID_TRIGGER; |
|
|
|
|
RelinkBeam(); |
|
|
|
|
} |
|
|
|
@ -1267,7 +1267,7 @@ void CSprite::TurnOn( void )
@@ -1267,7 +1267,7 @@ void CSprite::TurnOn( void )
|
|
|
|
|
pev->effects = 0; |
|
|
|
|
if( ( pev->framerate && m_maxFrame > 1.0 ) || ( pev->spawnflags & SF_SPRITE_ONCE ) ) |
|
|
|
|
{ |
|
|
|
|
SetThink( &CSprite::CSprite::AnimateThink ); |
|
|
|
|
SetThink( &CSprite::AnimateThink ); |
|
|
|
|
pev->nextthink = gpGlobals->time; |
|
|
|
|
m_lastTime = gpGlobals->time; |
|
|
|
|
} |
|
|
|
|