]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/hud.qc
actually, fit in 2 lines of centerprint in the scoreboard since the new info wont...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / hud.qc
index 962657db74c88045493019e2769f9f514e12084e..9360246df6d5064f47b89fb51d31ceba3495fe54 100644 (file)
@@ -284,7 +284,7 @@ void HUD_DrawCenterPrint (void)
 
        sz = 0.8 + (a / 5);
 
-       if(centerprint_num > 1 && HUD_WouldDrawScoreboard())
+       if(centerprint_num * cvar("scr_centersize") > 24 && HUD_WouldDrawScoreboard()) // 24 = height of Scoreboard text
        {
                centerprint_start_y = scoreboard_bottom + centerprint_fontsize_y;
        }