diff options
Diffstat (limited to 'src/game/g_team.c')
-rw-r--r-- | src/game/g_team.c | 9 |
1 files changed, 1 insertions, 8 deletions
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 ); } |