From 76f63c920238aae7051227a74d63b07af8046f88 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Mon, 28 Sep 2020 15:37:31 +0200 Subject: [PATCH] Fix icon offset --- Source/control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/control.cpp b/Source/control.cpp index 3f88523ae..ef9022a25 100644 --- a/Source/control.cpp +++ b/Source/control.cpp @@ -2237,7 +2237,7 @@ int DrawDurIcon4Item(ItemStruct *pItem, int x, int c) if (pItem->_iDurability > 2) c += 8; CelDraw(x, -17 + PANEL_Y, pDurIcons, c, 32); - return x - 32 + 8; + return x - 32 - 8; } void RedBack()