First working compilation.
This commit is contained in:
@@ -61,8 +61,8 @@ void CMSqueakGrenade :: Spawn( void )
|
||||
UTIL_SetSize(pev, Vector( -4, -4, 0), Vector(4, 4, 8));
|
||||
UTIL_SetOrigin( pev, pev->origin );
|
||||
|
||||
SetTouch( SuperBounceTouch );
|
||||
SetThink( HuntThink );
|
||||
SetTouch( &CMSqueakGrenade::SuperBounceTouch );
|
||||
SetThink( &CMSqueakGrenade::HuntThink );
|
||||
pev->nextthink = gpGlobals->time + 0.1;
|
||||
m_flNextHunt = gpGlobals->time + 1E6;
|
||||
|
||||
@@ -102,7 +102,7 @@ void CMSqueakGrenade::Precache( void )
|
||||
void CMSqueakGrenade :: Killed( entvars_t *pevAttacker, int iGib )
|
||||
{
|
||||
pev->model = iStringNull;// make invisible
|
||||
SetThink( SUB_Remove );
|
||||
SetThink( &CMSqueakGrenade::SUB_Remove );
|
||||
SetTouch( NULL );
|
||||
pev->nextthink = gpGlobals->time + 0.1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user