diff --git a/src/lua_hud.h b/src/lua_hud.h index dab5cc3ca..5627aaca9 100644 --- a/src/lua_hud.h +++ b/src/lua_hud.h @@ -19,7 +19,7 @@ enum hud { hud_stagetitle = 0, hud_textspectator, hud_crosshair, - hud_powerup, + hud_powerups, // Singleplayer / Co-op hud_score, hud_time, diff --git a/src/lua_hudlib.c b/src/lua_hudlib.c index 42c180b98..cd374d7af 100644 --- a/src/lua_hudlib.c +++ b/src/lua_hudlib.c @@ -40,7 +40,7 @@ static const char *const hud_disable_options[] = { "stagetitle", "textspectator", "crosshair", - "powerup", + "powerups", "score", "time", diff --git a/src/st_stuff.c b/src/st_stuff.c index e9e761192..0caf38143 100644 --- a/src/st_stuff.c +++ b/src/st_stuff.c @@ -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)