mirror of
https://github.com/shawns-valve/halflife.git
synced 2024-11-21 12:01:07 +00:00
Merge pull request #1384 from Jengerer/master
Added missing class prefix to function pointers.
This commit is contained in:
commit
dd78039839
3 changed files with 3 additions and 3 deletions
|
@ -427,7 +427,7 @@ LINK_ENTITY_TO_CLASS( trip_beam, CTripBeam );
|
|||
void CTripBeam::Spawn( void )
|
||||
{
|
||||
CLightning::Spawn();
|
||||
SetTouch( TriggerTouch );
|
||||
SetTouch( &CTripBeam::TriggerTouch );
|
||||
pev->solid = SOLID_TRIGGER;
|
||||
RelinkBeam();
|
||||
}
|
||||
|
|
|
@ -427,7 +427,7 @@ LINK_ENTITY_TO_CLASS( trip_beam, CTripBeam );
|
|||
void CTripBeam::Spawn( void )
|
||||
{
|
||||
CLightning::Spawn();
|
||||
SetTouch( TriggerTouch );
|
||||
SetTouch( &CTripBeam::TriggerTouch );
|
||||
pev->solid = SOLID_TRIGGER;
|
||||
RelinkBeam();
|
||||
}
|
||||
|
|
|
@ -427,7 +427,7 @@ LINK_ENTITY_TO_CLASS( trip_beam, CTripBeam );
|
|||
void CTripBeam::Spawn( void )
|
||||
{
|
||||
CLightning::Spawn();
|
||||
SetTouch( TriggerTouch );
|
||||
SetTouch( &CTripBeam::TriggerTouch );
|
||||
pev->solid = SOLID_TRIGGER;
|
||||
RelinkBeam();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue