Update st_stuff.c

Correct typos
This commit is contained in:
Alam Ed Arias 2023-10-26 13:12:09 +00:00
parent 1dd9f5e110
commit 4b0792de2b

View file

@ -1510,7 +1510,7 @@ static void ST_drawPowerupHUD(void)
UINT16 invulntime = 0;
INT32 offs = hudinfo[HUD_POWERUPS].x;
const UINT8 q = ((splitscreen && stplyr == &players[secondarydisplayplayer]) ? 1 : 0);
static INT32 flagoffs[2] = {0, 0}, shieldoffs[2] = {0, 0}, finishoffs[2] = {0, 0}, stackkoffs[2] = {0,0};
static INT32 flagoffs[2] = {0, 0}, shieldoffs[2] = {0, 0}, finishoffs[2] = {0, 0}, stackoffs[2] = {0,0};
if (F_GetPromptHideHud(hudinfo[HUD_POWERUPS].y))
return;
@ -1586,7 +1586,7 @@ static void ST_drawPowerupHUD(void)
offs -= shieldoffs[q];
//Fire Flower "shield"
if (stplyr->powers[pw_shield] & SH_FIREFLLOWER)
if ((stplyr->powers[pw_shield] & SH_FIREFLOWER) == SH_FIREFLOWER)
{
stackoffs[q] = ICONSEP;
V_DrawSmallScaledPatch(offs, hudinfo[HUD_POWERUPS].y, V_PERPLAYER|hudinfo[HUD_POWERUPS].f|V_HUDTRANS, fireflower);