Changed to CTripBeam to allow future overloading.

This commit is contained in:
Evgenii Babinets 2013-10-13 20:34:25 -04:00
parent 1ae42463e3
commit 8fc24de095
3 changed files with 3 additions and 3 deletions

View file

@ -427,7 +427,7 @@ LINK_ENTITY_TO_CLASS( trip_beam, CTripBeam );
void CTripBeam::Spawn( void )
{
CLightning::Spawn();
SetTouch( &CBeam::TriggerTouch );
SetTouch( &CTripBeam::TriggerTouch );
pev->solid = SOLID_TRIGGER;
RelinkBeam();
}

View file

@ -427,7 +427,7 @@ LINK_ENTITY_TO_CLASS( trip_beam, CTripBeam );
void CTripBeam::Spawn( void )
{
CLightning::Spawn();
SetTouch( &CBeam::TriggerTouch );
SetTouch( &CTripBeam::TriggerTouch );
pev->solid = SOLID_TRIGGER;
RelinkBeam();
}

View file

@ -427,7 +427,7 @@ LINK_ENTITY_TO_CLASS( trip_beam, CTripBeam );
void CTripBeam::Spawn( void )
{
CLightning::Spawn();
SetTouch( &CBeam::TriggerTouch );
SetTouch( &CTripBeam::TriggerTouch );
pev->solid = SOLID_TRIGGER;
RelinkBeam();
}