v0.2.4d: fixed a bug where bonus DR would be lost from inscribed armor

This commit is contained in:
Evan Debenham 2015-03-12 17:46:28 -04:00
parent cf298acb17
commit ddb8bf5c2f

View File

@ -77,7 +77,6 @@ public class Armor extends EquipableItem {
@Override @Override
public void restoreFromBundle( Bundle bundle ) { public void restoreFromBundle( Bundle bundle ) {
super.restoreFromBundle( bundle ); super.restoreFromBundle( bundle );
glyph = (Glyph)bundle.get( GLYPH );
if ((hitsToKnow = bundle.getInt( UNFAMILIRIARITY )) == 0) { if ((hitsToKnow = bundle.getInt( UNFAMILIRIARITY )) == 0) {
hitsToKnow = HITS_TO_KNOW; hitsToKnow = HITS_TO_KNOW;
} }