From: z411 Date: Fri, 18 Mar 2022 19:27:28 +0000 (-0300) Subject: Fixed flipped centerprint title X-Git-Tag: xonotic-v0.8.5~128^2~16 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b81d6f283ce5fbde4c4cba87621288372b93ef75;p=xonotic%2Fxonotic-data.pk3dir.git Fixed flipped centerprint title --- diff --git a/qcsrc/client/hud/panel/centerprint.qc b/qcsrc/client/hud/panel/centerprint.qc index a8ac62937..a6d58357e 100644 --- a/qcsrc/client/hud/panel/centerprint.qc +++ b/qcsrc/client/hud/panel/centerprint.qc @@ -269,7 +269,7 @@ void HUD_CenterPrint() drawcolorcodedstring(pos, centerprint_title, fontsize, 1, DRAWFLAG_NORMAL); if (autocvar_hud_panel_centerprint_flip) - pos.y -= fontsize.y + (hud_fontsize.y * CENTERPRINT_TITLE_SPACING / 2); + pos.y -= hud_fontsize.y * CENTERPRINT_TITLE_SPACING / 2; else pos.y += fontsize.y + (hud_fontsize.y * CENTERPRINT_TITLE_SPACING / 2);