From 909e3bc4451e2e12b1c862c2ddd828219b454b8d Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Thu, 9 Jun 2016 08:50:54 -0400 Subject: [PATCH] v0.4.0: fixed a bug in cryptpainter --- .../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 6bec9c824..b5b5417b7 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.glyph == null){ prize.cursed = prize.cursedKnown = true; prize.inscribe(Armor.Glyph.randomCurse()); }