From e2cc778129c37effd89633de63a0022ac39ac498 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sat, 11 Jun 2016 17:16:44 -0400 Subject: [PATCH] v0.4.0: fixed a bug involving weapon names --- AndroidManifest.xml | 4 ++-- .../shatteredpixeldungeon/items/weapon/Weapon.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 00c5c9544..99f68bdc2 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -1,8 +1,8 @@ diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/weapon/Weapon.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/weapon/Weapon.java index 2d4f37684..54d59ec01 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/weapon/Weapon.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/weapon/Weapon.java @@ -229,7 +229,7 @@ abstract public class Weapon extends KindOfWeapon { @Override public String name() { - return enchantment != null && (cursedKnown || !enchantment.curse()) ? enchantment.name( super.name() ) : super.name; + return enchantment != null && (cursedKnown || !enchantment.curse()) ? enchantment.name( super.name() ) : super.name(); } @Override