v0.9.1: fixed runic transference not working with save/load
This commit is contained in:
parent
b649d5096c
commit
0ffd5f73a7
|
@ -36,6 +36,7 @@ import com.shatteredpixel.shatteredpixeldungeon.windows.WndBag;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.windows.WndOptions;
|
import com.shatteredpixel.shatteredpixeldungeon.windows.WndOptions;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.windows.WndUseItem;
|
import com.shatteredpixel.shatteredpixeldungeon.windows.WndUseItem;
|
||||||
import com.watabou.noosa.audio.Sample;
|
import com.watabou.noosa.audio.Sample;
|
||||||
|
import com.watabou.utils.Bundle;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
|
@ -134,6 +135,20 @@ public class BrokenSeal extends Item {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
private static final String GLYPH = "glyph";
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void storeInBundle(Bundle bundle) {
|
||||||
|
super.storeInBundle(bundle);
|
||||||
|
bundle.put(GLYPH, glyph);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void restoreFromBundle(Bundle bundle) {
|
||||||
|
super.restoreFromBundle(bundle);
|
||||||
|
glyph = (Armor.Glyph)bundle.get(GLYPH);
|
||||||
|
}
|
||||||
|
|
||||||
public static class WarriorShield extends ShieldBuff {
|
public static class WarriorShield extends ShieldBuff {
|
||||||
|
|
||||||
private Armor armor;
|
private Armor armor;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user