mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-02 22:41:38 +00:00
Update st_stuff.c
Correct typos
This commit is contained in:
parent
1dd9f5e110
commit
4b0792de2b
1 changed files with 2 additions and 2 deletions
|
@ -1510,7 +1510,7 @@ static void ST_drawPowerupHUD(void)
|
||||||
UINT16 invulntime = 0;
|
UINT16 invulntime = 0;
|
||||||
INT32 offs = hudinfo[HUD_POWERUPS].x;
|
INT32 offs = hudinfo[HUD_POWERUPS].x;
|
||||||
const UINT8 q = ((splitscreen && stplyr == &players[secondarydisplayplayer]) ? 1 : 0);
|
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))
|
if (F_GetPromptHideHud(hudinfo[HUD_POWERUPS].y))
|
||||||
return;
|
return;
|
||||||
|
@ -1586,7 +1586,7 @@ static void ST_drawPowerupHUD(void)
|
||||||
offs -= shieldoffs[q];
|
offs -= shieldoffs[q];
|
||||||
|
|
||||||
//Fire Flower "shield"
|
//Fire Flower "shield"
|
||||||
if (stplyr->powers[pw_shield] & SH_FIREFLLOWER)
|
if ((stplyr->powers[pw_shield] & SH_FIREFLOWER) == SH_FIREFLOWER)
|
||||||
{
|
{
|
||||||
stackoffs[q] = ICONSEP;
|
stackoffs[q] = ICONSEP;
|
||||||
V_DrawSmallScaledPatch(offs, hudinfo[HUD_POWERUPS].y, V_PERPLAYER|hudinfo[HUD_POWERUPS].f|V_HUDTRANS, fireflower);
|
V_DrawSmallScaledPatch(offs, hudinfo[HUD_POWERUPS].y, V_PERPLAYER|hudinfo[HUD_POWERUPS].f|V_HUDTRANS, fireflower);
|
||||||
|
|
Loading…
Reference in a new issue