summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
Diffstat (limited to 'src/game')
-rw-r--r--src/game/g_combat.c2
1 files changed, 1 insertions, 1 deletions
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 )