Merge branch 'fix-showinput-on-scoreboard' into 'next'

Fix input panel overdrawing the scoreboard

See merge request STJr/SRB2!2507
This commit is contained in:
Lactozilla 2024-08-24 20:59:30 +00:00
commit b772eb00e1

View file

@ -1042,6 +1042,9 @@ static void ST_drawInput(void)
INT32 x = hudinfo[HUD_INPUT].x, y = hudinfo[HUD_INPUT].y;
if (hu_showscores)
return;
if (stplyr->powers[pw_carry] == CR_NIGHTSMODE)
y += 8;
else if (modeattacking || !LUA_HudEnabled(hud_lives))