]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Better default for font size calculation.
authorSamual <samual@xonotic.org>
Mon, 15 Aug 2011 09:11:56 +0000 (05:11 -0400)
committerSamual <samual@xonotic.org>
Mon, 15 Aug 2011 09:11:56 +0000 (05:11 -0400)
qcsrc/client/hud.qc

index 60e1a4648af4556c56672dc54352edd97651eb96..4eafa2bf633125dac75ebedd1d0e0ac463485145 100644 (file)
@@ -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);