diff options
Diffstat (limited to 'src/game/g_combat.c')
-rw-r--r-- | src/game/g_combat.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/game/g_combat.c b/src/game/g_combat.c index 46536c87..c674d1da 100644 --- a/src/game/g_combat.c +++ b/src/game/g_combat.c @@ -135,7 +135,7 @@ Returns the total damage dealt. */ float G_RewardAttackers( gentity_t *self ) { - float value, totalDamage; + float value, totalDamage = 0; int team, i; // Total up all the damage done by every client @@ -185,10 +185,9 @@ void player_die( gentity_t *self, gentity_t *inflictor, gentity_t *attacker, int gentity_t *ent; int anim; int killer; - int i, j; + int i; char *killerName, *obit; float totalDamage = 0.0f; - gentity_t *player; if( self->client->ps.pm_type == PM_DEAD ) return; |