v0.3.1: fixed a bug with changes to heap visibility

This commit is contained in:
Evan Debenham 2015-08-09 05:51:16 -04:00 committed by Evan Debenham
parent 98eb2052bf
commit 2432c351d2

View File

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