From cefc95d324a6a7f602e7a0fc99cf28631f81fb23 Mon Sep 17 00:00:00 2001 From: Info Teddy Date: Sun, 2 Feb 2020 17:46:00 -0800 Subject: [PATCH] Fix centered texts' outline rendering upside-down in flip mode If you looked at the "- Press ENTER to Teleport -" text in flip mode, you might have noticed that the outline looked pretty strange and glitched-out for some reason. It's just the outline rendering upside-down. To fix this, make PrintOff() use flipbfont instead of bfont. --- desktop_version/src/Graphics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop_version/src/Graphics.cpp b/desktop_version/src/Graphics.cpp index 3468ab86..af6ec757 100644 --- a/desktop_version/src/Graphics.cpp +++ b/desktop_version/src/Graphics.cpp @@ -383,7 +383,7 @@ void Graphics::PrintOff( int _x, int _y, std::string _s, int r, int g, int b, bo if (flipmode) { //flipbfont[font_idx(cur)].colorTransform(bfont_rect, ct); - BlitSurfaceColoured( bfont[font_idx(curr)], NULL, backBuffer, &fontRect , ct); + BlitSurfaceColoured( flipbfont[font_idx(curr)], NULL, backBuffer, &fontRect , ct); } else {