From aac9cf73674f72741a7b4f623e141e21594caee3 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Wed, 6 Jan 2021 18:49:03 -0500 Subject: [PATCH] v0.9.1c: fixed runic transference when seal & armor have the same glyph --- .../shatteredpixel/shatteredpixeldungeon/items/BrokenSeal.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/BrokenSeal.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/BrokenSeal.java index d95dcb611..fc6719197 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/BrokenSeal.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/BrokenSeal.java @@ -107,7 +107,8 @@ public class BrokenSeal extends Item { GLog.w(Messages.get(BrokenSeal.class, "unknown_armor")); } else if (armor.cursed || armor.level() < 0){ GLog.w(Messages.get(BrokenSeal.class, "degraded_armor")); - } else if (armor.glyph != null && ((BrokenSeal)curItem).getGlyph() != null) { + } else if (armor.glyph != null && ((BrokenSeal)curItem).getGlyph() != null + && armor.glyph.getClass() != ((BrokenSeal) curItem).getGlyph().getClass()) { GameScene.show(new WndOptions(Messages.get(BrokenSeal.class, "choose_title"), Messages.get(BrokenSeal.class, "choose_desc"), armor.glyph.name(),