From df3a840d8377db135ea9bc29c2d1170cf0e482a9 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sat, 23 Jul 2016 15:55:32 -0400 Subject: [PATCH] v0.4.1: fixed cursed items sometimes not being known from crypts --- .../shatteredpixeldungeon/levels/painters/CryptPainter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/levels/painters/CryptPainter.java b/src/com/shatteredpixel/shatteredpixeldungeon/levels/painters/CryptPainter.java index b5b5417b7..9ca8a7b10 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/levels/painters/CryptPainter.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/levels/painters/CryptPainter.java @@ -77,7 +77,7 @@ public class CryptPainter extends Painter { if (!prize.cursed){ prize.upgrade(); //curse the armor, unless it has a glyph - if (prize.glyph == null){ + if (!prize.hasGoodGlyph()){ prize.cursed = prize.cursedKnown = true; prize.inscribe(Armor.Glyph.randomCurse()); }