mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-01-20 08:21:08 +00:00
Initialize some variables
This commit is contained in:
parent
0aa45e9736
commit
672266241c
2 changed files with 3 additions and 3 deletions
|
@ -174,7 +174,7 @@ static int CheckPowerArmor (edict_t *ent, vec3_t point, vec3_t normal, int damag
|
|||
int index;
|
||||
int damagePerCell;
|
||||
int pa_te_type;
|
||||
int power;
|
||||
int power = 0;
|
||||
int power_used;
|
||||
|
||||
if (!damage)
|
||||
|
|
|
@ -171,10 +171,10 @@ static int CheckPowerArmor (edict_t *ent, vec3_t point, vec3_t normal, int damag
|
|||
gclient_t *client;
|
||||
int save;
|
||||
int power_armor_type;
|
||||
int index;
|
||||
int index = 0;
|
||||
int damagePerCell;
|
||||
int pa_te_type;
|
||||
int power;
|
||||
int power = 0;
|
||||
int power_used;
|
||||
|
||||
if (!damage)
|
||||
|
|
Loading…
Reference in a new issue