summaryrefslogtreecommitdiff
path: root/src/game/g_combat.c
diff options
context:
space:
mode:
author/dev/humancontroller <devhc@example.com>2017-04-13 11:30:00 +0000
committer/dev/humancontroller <devhc@example.com>2017-04-15 17:24:16 +0200
commitc596670999d843b430df0c4fe0eeabd148614638 (patch)
tree6290cc624bbbeaa50e2a3c3d7bc705721867e971 /src/game/g_combat.c
parenta989cd97673eb20dbd9a2fed5723832d5cd39512 (diff)
remove a bunch of unused variables and some no-op code
Diffstat (limited to 'src/game/g_combat.c')
-rw-r--r--src/game/g_combat.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/game/g_combat.c b/src/game/g_combat.c
index 6fe40b7..a992c17 100644
--- a/src/game/g_combat.c
+++ b/src/game/g_combat.c
@@ -1248,7 +1248,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;
float damagemodifier=0.0;
@@ -1442,7 +1441,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