From 9b682dcdba5fe3d41a72611f0fc12b329aa44178 Mon Sep 17 00:00:00 2001 From: Eric Robinson Date: Mon, 23 Sep 2024 22:29:26 -0400 Subject: [PATCH] Update clx_render.cpp --- Source/engine/render/clx_render.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/engine/render/clx_render.cpp b/Source/engine/render/clx_render.cpp index e1f2af465f6..4f6c07ff0b8 100644 --- a/Source/engine/render/clx_render.cpp +++ b/Source/engine/render/clx_render.cpp @@ -405,7 +405,7 @@ void RenderClxOutline(const Surface &out, Point position, ClxSprite sprite, uint UpdateOutlinePixelsCache(sprite); // Adjust position to include the 1-pixel margin for the outline - position.x -= 1; + position.x--; position.y -= sprite.height(); // Correct alignment for y-coordinate // Check if the sprite with the outline fits within the surface