a couple of warning fixes from Todd Kirby <kirbyt@yahoo.com>

This commit is contained in:
Bill Currie 2002-01-07 06:14:44 +00:00
parent d51888b639
commit d1a9c279e5
2 changed files with 2 additions and 2 deletions

View file

@ -176,7 +176,7 @@ static int CheckPowerArmor (edict_t *ent, vec3_t point, vec3_t normal, int damag
int index = -1; int index = -1;
int damagePerCell; int damagePerCell;
int pa_te_type; int pa_te_type;
int power; int power = 0;
int power_used; int power_used;
if (!damage) if (!damage)

View file

@ -176,7 +176,7 @@ static int CheckPowerArmor (edict_t *ent, vec3_t point, vec3_t normal, int damag
int index = -1; int index = -1;
int damagePerCell; int damagePerCell;
int pa_te_type; int pa_te_type;
int power; int power = 0;
int power_used; int power_used;
if (!damage) if (!damage)