diff --git a/dlls/client.cpp b/dlls/client.cpp index abee299e..932d438b 100644 --- a/dlls/client.cpp +++ b/dlls/client.cpp @@ -187,6 +187,9 @@ void ClientKill( edict_t *pEntity ) CBasePlayer *pl = (CBasePlayer*) CBasePlayer::Instance( pev ); + if( !pl ) + return; + if ( pl->m_fNextSuicideTime > gpGlobals->time ) return; // prevent suiciding too ofter