mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-27 23:24:29 +00:00
Revert "Merge 89efd616d6
"
This reverts commit c4820ad0df7bda569275452ad8f25c60d00301f9.
This commit is contained in:
parent
56ac345977
commit
4623cb0dc2
@ -107,13 +107,6 @@ void CBaseEntity::UpdateOnRemove( void )
|
|||||||
|
|
||||||
if( pev->globalname )
|
if( pev->globalname )
|
||||||
gGlobalState.EntitySetState( pev->globalname, GLOBAL_DEAD );
|
gGlobalState.EntitySetState( pev->globalname, GLOBAL_DEAD );
|
||||||
|
|
||||||
// tell owner ( if any ) that we're dead.This is mostly for MonsterMaker functionality.
|
|
||||||
//Killtarget didn't do this before, so the counter broke. - Solokiller
|
|
||||||
if( CBaseEntity* pOwner = pev->owner ? Instance( pev->owner ) : 0 )
|
|
||||||
{
|
|
||||||
pOwner->DeathNotice( pev );
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Convenient way to delay removing oneself
|
// Convenient way to delay removing oneself
|
||||||
|
Loading…
x
Reference in New Issue
Block a user