diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/CrystalSpire.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/CrystalSpire.java index ebedd3d32..9377a3026 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/CrystalSpire.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/CrystalSpire.java @@ -336,6 +336,11 @@ public class CrystalSpire extends Mob { PixelScene.shake( 3, 0.7f ); Blacksmith.Quest.beatBoss(); + if (fieldOfView == null || fieldOfView.length != Dungeon.level.length()){ + fieldOfView = new boolean[Dungeon.level.length()]; + Dungeon.level.updateFieldOfView( CrystalSpire.this, fieldOfView ); + } + for (int i = 0; i < Dungeon.level.length(); i++){ if (fieldOfView[i] && Dungeon.level.map[i] == Terrain.MINE_CRYSTAL){ Level.set(i, Terrain.EMPTY);