mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-02-09 21:44:15 +00:00
Fix prop saverestore
This commit is contained in:
parent
4f2d1b76df
commit
6f31bb6535
@ -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 );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user