From ff87c975c9f153659b45ae28a00587814e23f968 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 16 Mar 2015 16:27:02 -0400 Subject: [PATCH] v0.2.4d: fixed a duplication glitch with quickslotted weapons being removed by dwarf monks --- .../shatteredpixel/shatteredpixeldungeon/actors/mobs/Monk.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Monk.java b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Monk.java index 3e9d566e6..c17110e6f 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Monk.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Monk.java @@ -92,6 +92,7 @@ public class Monk extends Mob { if (weapon != null && !(weapon instanceof Knuckles) && !weapon.cursed) { hero.belongings.weapon = null; + Dungeon.quickslot.clearItem( weapon ); Dungeon.level.drop( weapon, hero.pos ).sprite.drop(); GLog.w( TXT_DISARM, name, weapon.name() ); }