diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/levels/traps/BlazingTrap.java b/src/com/shatteredpixel/shatteredpixeldungeon/levels/traps/BlazingTrap.java index e4bc72efa..f8c33bed9 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/levels/traps/BlazingTrap.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/levels/traps/BlazingTrap.java @@ -43,7 +43,7 @@ public class BlazingTrap extends Trap { @Override public void activate() { for (int i : Level.NEIGHBOURS9DIST2){ - if (!Level.solid[pos+i]) { + if (Level.insideMap(pos+i) && !Level.solid[pos+i]) { if (Level.pit[pos+i] || Level.water[pos+i]) GameScene.add(Blob.seed(pos + i, 1, Fire.class)); else