From 1b4dc4940ed0c844a3bb30cff551c9465be859c6 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Thu, 21 Jun 2001 16:21:20 +0000 Subject: Type fix --- src/game/g_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 ) * -- cgit