From 6229b51a03a4113fa799587e0f58fcea0f634d41 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Tue, 27 Nov 2018 00:18:35 +0100 Subject: [PATCH] fixed nasty x/y typo bug --- src/libgame/text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libgame/text.c b/src/libgame/text.c index c7c5f45b..02a23c3d 100644 --- a/src/libgame/text.c +++ b/src/libgame/text.c @@ -204,7 +204,7 @@ void DrawTextSCentered(int y, int font_nr, char *text) void DrawTextSAligned(int x, int y, char *text, int font_nr, int align) { DrawText(gfx.sx + ALIGNED_XPOS(x, getTextWidth(text, font_nr), align), - gfx.sx + y, text, font_nr); + gfx.sy + y, text, font_nr); } void DrawTextAligned(int x, int y, char *text, int font_nr, int align) -- 2.34.1