From e288a2efa3a97781bb96b37cb62e962f2b470128 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sat, 17 Sep 2022 21:09:28 -0400 Subject: [PATCH] v1.4.0: fixed fog of war errors when hero is knocked a high distance --- .../shatteredpixeldungeon/items/wands/WandOfBlastWave.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfBlastWave.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfBlastWave.java index 78f14c787..da51ee205 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfBlastWave.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfBlastWave.java @@ -39,6 +39,7 @@ import com.shatteredpixel.shatteredpixeldungeon.levels.Terrain; import com.shatteredpixel.shatteredpixeldungeon.levels.features.Door; import com.shatteredpixel.shatteredpixeldungeon.levels.traps.TenguDartTrap; import com.shatteredpixel.shatteredpixeldungeon.mechanics.Ballistica; +import com.shatteredpixel.shatteredpixeldungeon.scenes.GameScene; import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSpriteSheet; import com.shatteredpixel.shatteredpixeldungeon.tiles.DungeonTilemap; import com.watabou.noosa.Game; @@ -176,6 +177,7 @@ public class WandOfBlastWave extends DamageWand { Dungeon.level.occupyCell(ch); if (ch == Dungeon.hero){ Dungeon.observe(); + GameScene.updateFog(); } } }), -1);