diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/tiles/FogOfWar.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/tiles/FogOfWar.java index 33ce0be27..127af0168 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/tiles/FogOfWar.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/tiles/FogOfWar.java @@ -127,6 +127,7 @@ public class FogOfWar extends Image { public synchronized void updateFogArea(int x, int y, int w, int h){ updated.union(x, y); updated.union(x + w, y + h); + updated = updated.intersect( new Rect(0, 0, mapWidth, mapHeight) ); } public synchronized void moveToUpdating(){