diff options
author | IronClawTrem <louie.nutman@gmail.com> | 2020-03-29 14:45:05 +0100 |
---|---|---|
committer | IronClawTrem <louie.nutman@gmail.com> | 2020-03-29 14:45:05 +0100 |
commit | 4d46255e2317a9febdf36368496fa958056883e2 (patch) | |
tree | fba0c60b70c5616e7055ac142cdd7d22687fdc90 /src/game/g_combat.c | |
parent | 0092faa58e55ee8fd29e2887573bffbb8c5d7faa (diff) |
Fix compiler warnings
Mostly a metric ton of unused variables
Diffstat (limited to 'src/game/g_combat.c')
-rw-r--r-- | src/game/g_combat.c | 2 |
1 files changed, 0 insertions, 2 deletions
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 |