From: terencehill Date: Mon, 3 Jul 2017 10:58:04 +0000 (+0200) Subject: Fix medal position in the Race panel X-Git-Tag: xonotic-v0.8.5~2666 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f05eb894b194bc4edbff15f7505a233f195c159c;p=xonotic%2Fxonotic-data.pk3dir.git Fix medal position in the Race panel --- diff --git a/qcsrc/client/hud/panel/modicons.qc b/qcsrc/client/hud/panel/modicons.qc index c3e91d3e9..e87d64c87 100644 --- a/qcsrc/client/hud/panel/modicons.qc +++ b/qcsrc/client/hud/panel/modicons.qc @@ -551,7 +551,7 @@ void HUD_Mod_Race(vector pos, vector mySize) squareSize = min(mySize.y, mySize.x/2); vector ofs = vec2(0.5 * max(0, mySize.x/2 - squareSize), 0.5 * (mySize.y - squareSize)); textPos = pos + ofs; - ofs.y += 0.5 * mySize.x; + ofs.x += 0.5 * mySize.x; medalPos = pos + ofs; } else { // text on top