Fix input panel overdrawing the scoreboard

This commit is contained in:
Hanicef 2024-08-09 22:24:00 +02:00
parent 556ed31b1f
commit ef58615f42

View file

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