v0.3.5: fixed ankh resurrection not causing armor to activate
This commit is contained in:
parent
c888512840
commit
2a71adb3b0
|
@ -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<Item> {
|
|||
|
||||
if (armor != null) {
|
||||
armor.cursed = false;
|
||||
armor.activate( owner );
|
||||
}
|
||||
|
||||
if (misc1 != null) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user