From 902b728799751e76440de550d7e0f06f4bc4b0d4 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Tue, 25 Aug 2020 14:31:59 -0400 Subject: [PATCH] v0.8.2c: fixed item clearing in Tengu's arena being too permissive --- .../shatteredpixeldungeon/levels/NewPrisonBossLevel.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/NewPrisonBossLevel.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/NewPrisonBossLevel.java index 173c9660a..9e2702b02 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/NewPrisonBossLevel.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/NewPrisonBossLevel.java @@ -195,6 +195,9 @@ public class NewPrisonBossLevel extends Level { } } + //area where items/chars are preserved when moving to the arena + private static final Rect pauseSafeArea = new Rect(9, 2, 12, 12); + private void setMapPause(){ setMapStart(); @@ -416,7 +419,7 @@ public class NewPrisonBossLevel extends Level { Dungeon.hero.interrupt(); - clearEntities( arena ); //clear anything not in the arena + clearEntities( pauseSafeArea ); setMapArena(); cleanMapState();