From 6aa69fe49ab81eb128471265c0329c24a27a3ae4 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Mon, 22 Jun 2015 16:18:38 +0200 Subject: Remove poison. --- src/game/g_team.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/game/g_team.c') diff --git a/src/game/g_team.c b/src/game/g_team.c index 81e2e0e..f92936f 100644 --- a/src/game/g_team.c +++ b/src/game/g_team.c @@ -200,14 +200,7 @@ void G_LeaveTeamReal( gentity_t *self, qboolean reset_score ) if( !ent->inuse ) continue; - if( ent->client && ent->client->pers.connected == CON_CONNECTED ) - { - // cure poison - if( ent->client->ps.stats[ STAT_STATE ] & SS_POISONED && - ent->client->lastPoisonClient == self ) - ent->client->ps.stats[ STAT_STATE ] &= ~SS_POISONED; - } - else if( ent->s.eType == ET_MISSILE && ent->r.ownerNum == self->s.number ) + if( ent->s.eType == ET_MISSILE && ent->r.ownerNum == self->s.number ) G_FreeEntity( ent ); } -- cgit