diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/blobs/Inferno.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/blobs/Inferno.java index f1d84848d..e055b8490 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/blobs/Inferno.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/blobs/Inferno.java @@ -56,17 +56,24 @@ public class Inferno extends Blob { } Fire.burn(cell); + + if (Dungeon.level.flamable[cell]){ + Dungeon.level.destroy( cell ); + + observe = true; + GameScene.updateMap( cell ); + } } else if (Dungeon.level.flamable[cell] && (cur[cell-1] > 0 || cur[cell+1] > 0 || cur[cell-Dungeon.level.width()] > 0 || cur[cell+Dungeon.level.width()] > 0)) { - Fire.burn(cell); - Dungeon.level.destroy( cell ); - - observe = true; - GameScene.updateMap( cell ); + + if (fire == null || fire.cur[cell] == 0) { + GameScene.add(Fire.seed(cell, 4, Fire.class)); + } + } } }