From 96e9d2fe0bb4be6a49991cb82f703e91212c400a Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sun, 21 Mar 2021 20:32:34 -0400 Subject: [PATCH] v0.9.2b: fixed a crash in necro sprite, and re-final commit --- build.gradle | 2 +- .../shatteredpixeldungeon/sprites/NecromancerSprite.java | 2 +- .../shatteredpixeldungeon/ui/changelist/v0_9_X_Changes.java | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 456a43f0c..83c3d3e62 100644 --- a/build.gradle +++ b/build.gradle @@ -14,7 +14,7 @@ allprojects { appName = 'Shattered Pixel Dungeon' appPackageName = 'com.shatteredpixel.shatteredpixeldungeon' - appVersionCode = 528 + appVersionCode = 530 appVersionName = '0.9.2b' appJavaCompatibility = JavaVersion.VERSION_1_8 diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/sprites/NecromancerSprite.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/sprites/NecromancerSprite.java index a4ab01529..23d4ec924 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/sprites/NecromancerSprite.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/sprites/NecromancerSprite.java @@ -73,7 +73,7 @@ public class NecromancerSprite extends MobSprite { @Override public void update() { super.update(); - if (summoningBones != null){ + if (summoningBones != null && ((Necromancer) ch).summoningPos != -1){ summoningBones.visible = Dungeon.level.heroFOV[((Necromancer) ch).summoningPos]; } } diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/changelist/v0_9_X_Changes.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/changelist/v0_9_X_Changes.java index 1445ecf6c..313e5665e 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/changelist/v0_9_X_Changes.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/changelist/v0_9_X_Changes.java @@ -84,7 +84,8 @@ public class v0_9_X_Changes { "_-_ Scrolls of remove curse being usable on items known to be uncursed\n" + "_-_ Pitfall traps affecting items in locked chests or shops\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.hardlight(Window.TITLE_COLOR);