Fixed dretch/granger tk issue^(20)^

This commit is contained in:
Paradox460 committed 2008-01-21 23:27:02 +00:00
1 parent 384e8383ba
commit d302e0e0cc
1 file changed
+1 -1
+1 -1
View File
@@ -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 ] )