From f05eb894b194bc4edbff15f7505a233f195c159c Mon Sep 17 00:00:00 2001 From: terencehill Date: Mon, 3 Jul 2017 12:58:04 +0200 Subject: [PATCH] Fix medal position in the Race panel --- qcsrc/client/hud/panel/modicons.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2