]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fixed flipped centerprint title
authorz411 <z411@omaera.org>
Fri, 18 Mar 2022 19:27:28 +0000 (16:27 -0300)
committerz411 <z411@omaera.org>
Fri, 18 Mar 2022 19:27:28 +0000 (16:27 -0300)
qcsrc/client/hud/panel/centerprint.qc

index a8ac629375ddef2656ec9209e54dd65eaaf7e34a..a6d58357e450ea0a54b486f30d5f9275c56da3aa 100644 (file)
@@ -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);