From ae450603a3a21923840a2ad08238ad717fa65350 Mon Sep 17 00:00:00 2001 From: Evan Debenham <Evan.SHPX@gmail.com> Date: Fri, 6 May 2016 16:15:01 -0400 Subject: [PATCH] v0.3.5a: corrected a few inconsistencies with the new multi-examine --- .../shatteredpixeldungeon/scenes/GameScene.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/scenes/GameScene.java b/src/com/shatteredpixel/shatteredpixeldungeon/scenes/GameScene.java index e6b8c56d9..024be3552 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/scenes/GameScene.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/scenes/GameScene.java @@ -801,7 +801,7 @@ public class GameScene extends PixelScene { } Heap heap = Dungeon.level.heaps.get(cell); - if (heap != null) { + if (heap != null && heap.seen) { objects.add(heap); names.add(Messages.titleCase( heap.toString() )); } @@ -813,7 +813,7 @@ public class GameScene extends PixelScene { } Trap trap = Dungeon.level.traps.get( cell ); - if (trap != null) { + if (trap != null && trap.visible) { objects.add(trap); names.add(Messages.titleCase( trap.name )); }