mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-20 19:02:34 +00:00
Add check for hud_powerups to SCR_ClosedCaptions
This commit is contained in:
parent
408021b9f5
commit
698dd624fb
1 changed files with 3 additions and 0 deletions
|
@ -44,6 +44,8 @@
|
|||
// SRB2Kart
|
||||
#include "r_fps.h" // R_GetFramerateCap
|
||||
|
||||
#include "lua_hud.h" // LUA_HudEnabled
|
||||
|
||||
// --------------------------------------------
|
||||
// assembly or c drawer routines for 8bpp/16bpp
|
||||
// --------------------------------------------
|
||||
|
@ -565,6 +567,7 @@ void SCR_ClosedCaptions(void)
|
|||
basey -= 8;
|
||||
else if ((modeattacking == ATTACKING_NIGHTS)
|
||||
|| (!(maptol & TOL_NIGHTS)
|
||||
&& LUA_HudEnabled(hud_powerups)
|
||||
&& ((cv_powerupdisplay.value == 2) // "Always"
|
||||
|| (cv_powerupdisplay.value == 1 && !camera.chase)))) // "First-person only"
|
||||
basey -= 16;
|
||||
|
|
Loading…
Reference in a new issue