From b2b602040de53f1f4e1905e507e0aa740928f3e9 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Sun, 29 Mar 2020 11:46:57 +0200 Subject: Fix compiler warnings Mostly a metric ton of unused variables --- src/game/g_combat.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/game/g_combat.c') diff --git a/src/game/g_combat.c b/src/game/g_combat.c index 85880ef..aef76d1 100644 --- a/src/game/g_combat.c +++ b/src/game/g_combat.c @@ -1156,7 +1156,6 @@ void G_Damage( gentity_t *targ, gentity_t *inflictor, gentity_t *attacker, { gclient_t *client; int take; - int save; int asave = 0; int knockback = 0; float damagemodifier=0.0; @@ -1353,7 +1352,6 @@ void G_Damage( gentity_t *targ, gentity_t *inflictor, gentity_t *attacker, } take = damage; - save = 0; // add to the damage inflicted on a player this frame // the total will be turned into screen blends and view angle kicks -- cgit