|
|
|
@ -538,7 +538,7 @@ void CBasePlayerItem::Materialize( void )
@@ -538,7 +538,7 @@ void CBasePlayerItem::Materialize( void )
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
float CBasePlayerItem::TouchGravGun( CBaseEntity *attacker, int stage ) |
|
|
|
|
{ |
|
|
|
|
{ |
|
|
|
|
if( stage == 2 ) |
|
|
|
|
{ |
|
|
|
|
if( (attacker->pev->origin - pev->origin ).Length() < 90 ) |
|
|
|
@ -555,11 +555,6 @@ float CBasePlayerItem::TouchGravGun( CBaseEntity *attacker, int stage )
@@ -555,11 +555,6 @@ float CBasePlayerItem::TouchGravGun( CBaseEntity *attacker, int stage )
|
|
|
|
|
//if( pev->mins == pev->maxs )
|
|
|
|
|
//return 0;
|
|
|
|
|
return 200; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
UTIL_SetOrigin( pev, pev->origin );// link into world.
|
|
|
|
|
SetTouch( &CBasePlayerItem::DefaultTouch); |
|
|
|
|
SetThink( NULL ); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//=========================================================
|
|
|
|
|