From 90db5b8c1fd32d6377739d69982052415aa84c20 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Fri, 6 May 2016 18:19:12 -0400 Subject: [PATCH] v0.3.5a: fixed an equipped boomerang removing items from quickslots when thrown --- .../shatteredpixeldungeon/items/weapon/missiles/Boomerang.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/weapon/missiles/Boomerang.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/weapon/missiles/Boomerang.java index 9c2fd498a..a47a25320 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/weapon/missiles/Boomerang.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/weapon/missiles/Boomerang.java @@ -119,6 +119,7 @@ public class Boomerang extends MissileWeapon { @Override public void cast( Hero user, int dst ) { throwEquiped = isEquipped( user ); + if (throwEquiped) Dungeon.quickslot.convertToPlaceholder(this); super.cast( user, dst ); }