Browse Source

Revert "Merge 89efd616d6"

This reverts commit c4820ad0df.
half-secret
Andrey Akhmichin 5 years ago
parent
commit
4623cb0dc2
  1. 7
      dlls/subs.cpp

7
dlls/subs.cpp

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

Loading…
Cancel
Save