diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 52223cffe..9a89075cf 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -1,8 +1,8 @@ diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Monk.java b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Monk.java index 33d511f8e..592e49ecf 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Monk.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Monk.java @@ -96,6 +96,7 @@ public class Monk extends Mob { if (weapon != null && !(weapon instanceof Knuckles) && !weapon.cursed) { hero.belongings.weapon = null; Dungeon.quickslot.clearItem( weapon ); + weapon.updateQuickslot(); Dungeon.level.drop( weapon, hero.pos ).sprite.drop(); GLog.w( TXT_DISARM, name, weapon.name() ); } diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Thief.java b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Thief.java index e29c98c2d..ed91dd61a 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Thief.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Thief.java @@ -137,8 +137,8 @@ public class Thief extends Mob { if (item != null) { GLog.w( TXT_STOLE, this.name, item.name() ); - - + Dungeon.quickslot.clearItem( item ); + item.updateQuickslot(); if (item instanceof Honeypot){ this.item = ((Honeypot)item).shatter(this, this.pos); diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/EquipableItem.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/EquipableItem.java index 7bc7e6799..e89bba837 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/EquipableItem.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/EquipableItem.java @@ -102,6 +102,7 @@ public abstract class EquipableItem extends Item { if (collect && !collect( hero.belongings.backpack )) { onDetach(); Dungeon.quickslot.clearItem(this); + updateQuickslot(); Dungeon.level.drop( this, hero.pos ); }