v0.9.2b: fixed a crash in necro sprite, and re-final commit

This commit is contained in:
Evan Debenham 2021-03-21 20:32:34 -04:00
parent c991208b9b
commit 96e9d2fe0b
3 changed files with 4 additions and 3 deletions

View File

@ -14,7 +14,7 @@ allprojects {
appName = 'Shattered Pixel Dungeon' appName = 'Shattered Pixel Dungeon'
appPackageName = 'com.shatteredpixel.shatteredpixeldungeon' appPackageName = 'com.shatteredpixel.shatteredpixeldungeon'
appVersionCode = 528 appVersionCode = 530
appVersionName = '0.9.2b' appVersionName = '0.9.2b'
appJavaCompatibility = JavaVersion.VERSION_1_8 appJavaCompatibility = JavaVersion.VERSION_1_8

View File

@ -73,7 +73,7 @@ public class NecromancerSprite extends MobSprite {
@Override @Override
public void update() { public void update() {
super.update(); super.update();
if (summoningBones != null){ if (summoningBones != null && ((Necromancer) ch).summoningPos != -1){
summoningBones.visible = Dungeon.level.heroFOV[((Necromancer) ch).summoningPos]; summoningBones.visible = Dungeon.level.heroFOV[((Necromancer) ch).summoningPos];
} }
} }

View File

@ -84,7 +84,8 @@ public class v0_9_X_Changes {
"_-_ Scrolls of remove curse being usable on items known to be uncursed\n" + "_-_ Scrolls of remove curse being usable on items known to be uncursed\n" +
"_-_ Pitfall traps affecting items in locked chests or shops\n" + "_-_ Pitfall traps affecting items in locked chests or shops\n" +
"_-_ Various cases where teleportation could put the player onto traps\n" + "_-_ Various cases where teleportation could put the player onto traps\n" +
"_-_ Iron stomach not working with viscocity glyph")); "_-_ Iron stomach not working with viscocity glyph\n" +
"_-_ Web links not working on Android 11"));
changes = new ChangeInfo("v0.9.2a", false, null); changes = new ChangeInfo("v0.9.2a", false, null);
changes.hardlight(Window.TITLE_COLOR); changes.hardlight(Window.TITLE_COLOR);