Change hud_powerup to hud_powerups for consistency

This commit is contained in:
MIDIMan 2023-12-08 09:27:57 -05:00
parent 3888bf95f2
commit 408021b9f5
3 changed files with 5 additions and 5 deletions

View file

@ -19,7 +19,7 @@ enum hud {
hud_stagetitle = 0,
hud_textspectator,
hud_crosshair,
hud_powerup,
hud_powerups,
// Singleplayer / Co-op
hud_score,
hud_time,

View file

@ -40,7 +40,7 @@ static const char *const hud_disable_options[] = {
"stagetitle",
"textspectator",
"crosshair",
"powerup",
"powerups",
"score",
"time",

View file

@ -2795,14 +2795,14 @@ static void ST_overlayDrawer(void)
|| ((splitscreen && stplyr == &players[secondarydisplayplayer]) && !camera2.chase))
{
ST_drawFirstPersonHUD();
if (cv_powerupdisplay.value && LUA_HudEnabled(hud_powerup))
if (cv_powerupdisplay.value && LUA_HudEnabled(hud_powerups))
ST_drawPowerupHUD(); // same as it ever was...
}
else if (cv_powerupdisplay.value == 2 && LUA_HudEnabled(hud_powerup))
else if (cv_powerupdisplay.value == 2 && LUA_HudEnabled(hud_powerups))
ST_drawPowerupHUD(); // same as it ever was...
}
else if (!(netgame || multiplayer) && cv_powerupdisplay.value == 2 && LUA_HudEnabled(hud_powerup))
else if (!(netgame || multiplayer) && cv_powerupdisplay.value == 2 && LUA_HudEnabled(hud_powerups))
ST_drawPowerupHUD(); // same as it ever was...
if (!(netgame || multiplayer) || !hu_showscores)