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

View File

@@ -631,18 +631,18 @@ public class Tengu extends Mob {
}
}
}
Heap h = Dungeon.level.heaps.get(cell);
if (h != null) {
for (Item i : h.items.toArray(new Item[0])) {
if (i instanceof BombItem) {
h.remove(i);
}
}
}
}
}
Heap h = Dungeon.level.heaps.get(bombPos);
if (h != null) {
for (Item i : h.items.toArray(new Item[0])) {
if (i instanceof BombItem) {
h.remove(i);
}
}
}
Sample.INSTANCE.play(Assets.Sounds.BLAST);
detach();
return true;