From 5e69dedbb452da0308891eb8aacab1d7f5652706 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Fri, 13 Dec 2019 17:15:22 -0500 Subject: [PATCH] v0.8.0: fixed mimics incorrectly being the default heap type --- .../shatteredpixeldungeon/levels/RegularLevel.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/RegularLevel.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/RegularLevel.java index b6b6f23a1..021f3f811 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/RegularLevel.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/RegularLevel.java @@ -302,13 +302,16 @@ public abstract class RegularLevel extends Level { case 4: type = Heap.Type.CHEST; break; - case 5: default: + case 5: if (Dungeon.depth > 1 && findMob(cell) == null){ mobs.add(Mimic.spawnAt(cell, toDrop)); continue; } type = Heap.Type.CHEST; break; + default: + type = Heap.Type.HEAP; + break; } if ((toDrop instanceof Artifact && Random.Int(2) == 0) ||