v2.1.0: fixed Tengu smoke bombs destroying each other visually

This commit is contained in:
Evan Debenham
2023-05-22 17:27:24 -04:00
parent 1137c45316
commit 62e888129c
@@ -631,8 +631,11 @@ public class Tengu extends Mob {
} }
} }
} }
}
Heap h = Dungeon.level.heaps.get(cell); }
Heap h = Dungeon.level.heaps.get(bombPos);
if (h != null) { if (h != null) {
for (Item i : h.items.toArray(new Item[0])) { for (Item i : h.items.toArray(new Item[0])) {
if (i instanceof BombItem) { if (i instanceof BombItem) {
@@ -640,9 +643,6 @@ public class Tengu extends Mob {
} }
} }
} }
}
}
Sample.INSTANCE.play(Assets.Sounds.BLAST); Sample.INSTANCE.play(Assets.Sounds.BLAST);
detach(); detach();
return true; return true;