diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2015-06-22 16:18:38 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2015-06-22 16:18:38 +0200 |
commit | 6aa69fe49ab81eb128471265c0329c24a27a3ae4 (patch) | |
tree | 6a4e9b1132026db7751a988df2f935b33ddb28b3 /src/game/g_team.c | |
parent | ef1dd29cd38abd1f2c008bdd32ca767620613895 (diff) |
Remove poison.
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 ); } |