v0.3.5a: corrected a few inconsistencies with the new multi-examine
This commit is contained in:
parent
1b9523a3b2
commit
ae450603a3
|
@ -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 ));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user