From 2a71adb3b046724dd7af44a275059327efb7b349 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 25 Apr 2016 19:46:09 -0400 Subject: [PATCH] v0.3.5: fixed ankh resurrection not causing armor to activate --- .../shatteredpixeldungeon/actors/hero/Belongings.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Belongings.java b/src/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Belongings.java index 5dd8acd0f..1c8468ff0 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Belongings.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Belongings.java @@ -23,8 +23,8 @@ package com.shatteredpixel.shatteredpixeldungeon.actors.hero; import com.shatteredpixel.shatteredpixeldungeon.Badges; import com.shatteredpixel.shatteredpixeldungeon.Dungeon; import com.shatteredpixel.shatteredpixeldungeon.items.Item; -import com.shatteredpixel.shatteredpixeldungeon.items.KindofMisc; import com.shatteredpixel.shatteredpixeldungeon.items.KindOfWeapon; +import com.shatteredpixel.shatteredpixeldungeon.items.KindofMisc; import com.shatteredpixel.shatteredpixeldungeon.items.armor.Armor; import com.shatteredpixel.shatteredpixeldungeon.items.bags.Bag; import com.shatteredpixel.shatteredpixeldungeon.items.keys.IronKey; @@ -208,6 +208,7 @@ public class Belongings implements Iterable { if (armor != null) { armor.cursed = false; + armor.activate( owner ); } if (misc1 != null) {