Fixed dretch/granger tk issue^(20)^
This commit is contained in:
1 parent
384e8383ba
commit
d302e0e0cc
1 file changed
+1
-1
+1
-1
@@ -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 ] )
|
||||
|
||||
Reference in new issue
Block a user