summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/g_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_client.c b/src/game/g_client.c
index 24a8f2df..47d145d0 100644
--- a/src/game/g_client.c
+++ b/src/game/g_client.c
@@ -573,7 +573,7 @@ void useBody( gentity_t *self, gentity_t *other, gentity_t *activator )
//if no one did any damage client must have been killed by defense or suicide
//body is a "free for all"
- if( total == 0.0f ) numerator = denominator = 1.0f;
+ if( !total ) numerator = denominator = 1.0f;
//add credit
activator->client->ps.stats[ STAT_CREDIT ] += (int)( (float)BG_FindValueOfClass( class ) *