From d302e0e0cc78b3e4ee244d38d925608be99f0e3b Mon Sep 17 00:00:00 2001 From: Paradox460 Date: Mon, 21 Jan 2008 23:27:02 +0000 Subject: [PATCH] Fixed dretch/granger tk issue^(20)^ --- src/game/g_combat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/g_combat.c b/src/game/g_combat.c index 36a2bc7..aa1904f 100644 --- a/src/game/g_combat.c +++ b/src/game/g_combat.c @@ -357,7 +357,7 @@ void player_die( gentity_t *self, gentity_t *inflictor, gentity_t *attacker, int if ( self->client->ps.persistant[ PERS_CREDIT ] + totalPrice > max ) totalPrice = max - self->client->ps.persistant[ PERS_CREDIT ]; - if ( totalPrice ) + if ( totalPrice > 0 ) { totalTK += totalDamage; if( totalTK < self->client->ps.stats[ STAT_MAX_HEALTH ] )