From 19e6cc72ed26b6c3ddeec15cc7b7affb39bebad6 Mon Sep 17 00:00:00 2001 From: Christopher Schwarz Date: Wed, 5 May 2010 22:38:27 +0000 Subject: * Don't give tk/suicide penalties from exploding human buildables (thanks Oopss, Rezyn) --- src/game/g_combat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/game/g_combat.c b/src/game/g_combat.c index a5ea3ab7..8784cd17 100644 --- a/src/game/g_combat.c +++ b/src/game/g_combat.c @@ -284,7 +284,7 @@ void player_die( gentity_t *self, gentity_t *inflictor, gentity_t *attacker, int { attacker->client->lastkilled_client = self->s.number; - if( attacker == self || OnSameTeam( self, attacker ) ) + if( ( attacker == self || OnSameTeam( self, attacker ) ) && meansOfDeath != MOD_HSPAWN ) { //punish team kills and suicides if( attacker->client->ps.stats[ STAT_TEAM ] == TEAM_ALIENS ) -- cgit