This reverts commit c4820ad0df.
This commit is contained in:
Andrey Akhmichin 2019-09-24 01:41:50 +05:00
parent 56ac345977
commit 4623cb0dc2
1 changed files with 0 additions and 7 deletions

View File

@ -107,13 +107,6 @@ void CBaseEntity::UpdateOnRemove( void )
if( pev->globalname )
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