From: Samual Date: Mon, 15 Aug 2011 09:11:56 +0000 (-0400) Subject: Better default for font size calculation. X-Git-Tag: xonotic-v0.5.0~145 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=08c994d53400ae7814a5cf6fd5cd8454eb10acd2;p=xonotic%2Fxonotic-data.pk3dir.git Better default for font size calculation. --- diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index 60e1a4648..4eafa2bf6 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -4513,7 +4513,7 @@ void HUD_CenterPrint (void) // entries = bound(1, floor(CENTERPRINT_MAX_ENTRIES * 4 * panel_size_y/panel_size_x), CENTERPRINT_MAX_ENTRIES); // height = panel_size_y/entries; // fontsize = '1 1 0' * height; - height = vid_conheight/40 * autocvar_hud_panel_centerprint_fontscale; + height = vid_conheight/50 * autocvar_hud_panel_centerprint_fontscale; fontsize = '1 1 0' * height; entries = bound(1, floor(panel_size_y/height), CENTERPRINT_MAX_ENTRIES);