From c2d54ad39e8447f3fb01cea34d3fdc6e6adb9a64 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Mon, 28 Sep 2020 02:03:40 +0200 Subject: [PATCH] Decompose number --- Source/control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/control.cpp b/Source/control.cpp index 7610e0d7a..3f88523ae 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 - 40; + return x - 32 + 8; } void RedBack()