From f8a3affa56ffb27759684a8cdd74c9a8c672a88a Mon Sep 17 00:00:00 2001 From: Christopher Schwarz Date: Sun, 13 Feb 2011 04:45:27 +0000 Subject: * Prevent players from being poisoned by explosions of buildables that were killed by players with poison (Thanks The Medistation for reporting) --- src/game/g_combat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/g_combat.c') diff --git a/src/game/g_combat.c b/src/game/g_combat.c index 58ec2683..29b635dd 100644 --- a/src/game/g_combat.c +++ b/src/game/g_combat.c @@ -1117,8 +1117,8 @@ void G_Damage( gentity_t *targ, gentity_t *inflictor, gentity_t *attacker, { if( targ->client->ps.stats[ STAT_TEAM ] == TEAM_HUMANS && mod != MOD_LEVEL2_ZAP && mod != MOD_POISON && - mod != MOD_LEVEL1_PCLOUD && - targ->client->poisonImmunityTime < level.time ) + mod != MOD_LEVEL1_PCLOUD && mod != MOD_HSPAWN && + mod != MOD_ASPAWN && targ->client->poisonImmunityTime < level.time ) { targ->client->ps.stats[ STAT_STATE ] |= SS_POISONED; targ->client->lastPoisonTime = level.time; -- cgit