diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game/g_combat.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/g_combat.c b/src/game/g_combat.c index 1c57f60..60d4f28 100644 --- a/src/game/g_combat.c +++ b/src/game/g_combat.c @@ -544,7 +544,7 @@ void player_die( gentity_t *self, gentity_t *inflictor, gentity_t *attacker, int //horribly complex nasty alien land float humanValue = BG_GetValueOfHuman( &self->client->ps ), factor; int frags; - int unclaimedFrags = (int)humanValue; + int unclaimedFrags; factor = G_RewardFactor( self, attacker ); if( g_debugRewards.integer ) @@ -553,6 +553,8 @@ void player_die( gentity_t *self, gentity_t *inflictor, gentity_t *attacker, int if( g_debugRewards.integer ) Com_Printf( "%d", (int)humanValue ); + unclaimedFrags = humanValue; + for( i = 0; i < MAX_CLIENTS; i++ ) { player = g_entities + i; |