From bdbd813c6bb7b4ba7bf4e4121718d1f63672b157 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Tue, 19 Jan 2016 03:06:49 -0500 Subject: [PATCH] v0.3.4: fixed bottom right icons sticking in quickslots --- .../shatteredpixel/shatteredpixeldungeon/ui/ItemSlot.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/ui/ItemSlot.java b/src/com/shatteredpixel/shatteredpixeldungeon/ui/ItemSlot.java index b87667cd8..beae2b18d 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/ui/ItemSlot.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/ui/ItemSlot.java @@ -142,6 +142,11 @@ public class ItemSlot extends Button { } public void item( Item item ) { + if (bottomRightIcon != null){ + remove(bottomRightIcon); + bottomRightIcon = null; + } + if (item == null) { active = false;