|
|
@ -692,7 +692,6 @@ void CProp::Killed(entvars_t *pevAttacker, int iGib) |
|
|
|
pev->nextthink = gpGlobals->time + m_flRespawnTime; |
|
|
|
pev->nextthink = gpGlobals->time + m_flRespawnTime; |
|
|
|
SetThink( &CProp::RespawnThink ); |
|
|
|
SetThink( &CProp::RespawnThink ); |
|
|
|
SetTouch( NULL ); |
|
|
|
SetTouch( NULL ); |
|
|
|
SetUse( NULL ); |
|
|
|
|
|
|
|
//m_owner2 = NULL;
|
|
|
|
//m_owner2 = NULL;
|
|
|
|
//m_attacker = NULL;
|
|
|
|
//m_attacker = NULL;
|
|
|
|
} |
|
|
|
} |
|
|
@ -1097,7 +1096,6 @@ void CProp::PropRespawn() |
|
|
|
m_oldshape = (PropShape)-1; |
|
|
|
m_oldshape = (PropShape)-1; |
|
|
|
CheckRotate(); |
|
|
|
CheckRotate(); |
|
|
|
SetTouch( &CProp::BounceTouch ); |
|
|
|
SetTouch( &CProp::BounceTouch ); |
|
|
|
SetUse( &CProp::Use ); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pev->framerate = 1.0f; |
|
|
|
pev->framerate = 1.0f; |
|
|
|
UTIL_SetOrigin( pev, spawnOrigin ); |
|
|
|
UTIL_SetOrigin( pev, spawnOrigin ); |
|
|
|