summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2001-06-21 16:21:20 +0000
committerTim Angus <tim@ngus.net>2001-06-21 16:21:20 +0000
commit1b4dc4940ed0c844a3bb30cff551c9465be859c6 (patch)
tree96236f0cbfce315cef8ec3cdf816880cb99b39da /src
parentff04da2d93c796c8df997a189290835b6f9a987d (diff)
Type fix
Diffstat (limited to 'src')
-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 ) *