From d7b5a0c9726c2f5ff28fe7c040bdbee549f15564 Mon Sep 17 00:00:00 2001 From: Eric Robinson Date: Mon, 23 Sep 2024 22:52:11 -0400 Subject: [PATCH] Update hwcursor.cpp --- Source/hwcursor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/hwcursor.cpp b/Source/hwcursor.cpp index 705653696..b2f28ff85 100644 --- a/Source/hwcursor.cpp +++ b/Source/hwcursor.cpp @@ -144,7 +144,7 @@ bool SetHardwareCursorFromSprite(int pcurs) constexpr std::uint8_t TransparentColor = 1; SDL_FillRect(out.surface, nullptr, TransparentColor); SDL_SetColorKey(out.surface, 1, TransparentColor); - DrawSoftwareCursor(out, { outlineWidth, size.height - outlineWidth }, pcurs); + DrawSoftwareCursor(out, { outlineWidth, size.height - outlineWidth - 1 }, pcurs); const bool result = SetHardwareCursorFromSurface( out.surface, isItem ? HotpointPosition::Center : HotpointPosition::TopLeft);