v0.3.1: fixed a bug with heap visibility

This commit is contained in:
Evan Debenham 2015-08-17 23:10:45 -04:00 committed by Evan Debenham
parent 2893e67375
commit ddabd4facb

View File

@ -700,7 +700,7 @@ public abstract class Level implements Bundlable {
if (heap == null) {
heap = new Heap();
heap.seen = fieldOfView[cell];
heap.seen = Dungeon.visible[cell];
heap.pos = cell;
if (map[cell] == Terrain.CHASM || (Dungeon.level != null && pit[cell])) {
Dungeon.dropToChasm( item );