X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=cl_screen.c;h=fd5188eb3386ebcb2168abb21cdc43b100d8204d;hb=254fb2c8e0839e249b961fb9f6fa57cab65b8c6e;hp=1d1280e990808143a612042a05a0dda7f20de5ba;hpb=0d43a1bcf22b005ab7feec5373db766819aca92d;p=xonotic%2Fdarkplaces.git diff --git a/cl_screen.c b/cl_screen.c index 1d1280e9..fd5188eb 100644 --- a/cl_screen.c +++ b/cl_screen.c @@ -738,7 +738,9 @@ SCR_DrawConsole void SCR_DrawConsole (void) { // infobar and loading progress are not drawn simultaneously - scr_con_margin_bottom = SCR_InfobarHeight() ?: scr_loading * scr_loadingscreen_barheight.integer; + scr_con_margin_bottom = SCR_InfobarHeight(); + if (!scr_con_margin_bottom && scr_loading) + scr_con_margin_bottom = scr_loadingscreen_barheight.integer; if (key_consoleactive & KEY_CONSOLEACTIVE_FORCED) { // full screen