From: Holger Schemel Date: Mon, 26 Nov 2018 23:18:35 +0000 (+0100) Subject: fixed nasty x/y typo bug X-Git-Tag: 4.1.2.0~90 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=6229b51a03a4113fa799587e0f58fcea0f634d41;p=rocksndiamonds.git fixed nasty x/y typo bug --- 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)