mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 06:51:47 +00:00
fix a couple warnings
This commit is contained in:
parent
7f11d7c127
commit
806ba15f33
1 changed files with 2 additions and 1 deletions
|
@ -811,7 +811,7 @@ draw_hipnotic_weapons_sbar (view_t *view)
|
|||
static void
|
||||
draw_hipnotic_weapons_hud (view_t *view)
|
||||
{
|
||||
int flashon, grenadeflashing = 0, i, x;
|
||||
int flashon, grenadeflashing = 0, i, x = 0;
|
||||
static int y[] = {0, 16, 32, 48, 64, 96, 112, 128, 144, 80, 80};
|
||||
qpic_t *pic;
|
||||
int mask;
|
||||
|
@ -832,6 +832,7 @@ draw_hipnotic_weapons_hud (view_t *view)
|
|||
if (cl.stats[STAT_ITEMS] & mask) {
|
||||
flashon = calc_flashon (time, mask);
|
||||
|
||||
pic = 0;
|
||||
if (i < 7) {
|
||||
pic = sb_weapons[flashon][i];
|
||||
} else if (i < 9) {
|
||||
|
|
Loading…
Reference in a new issue