v0.3.1: fixed a bug with changes to heap visibility
This commit is contained in:
parent
98eb2052bf
commit
2432c351d2
|
@ -688,6 +688,7 @@ public abstract class Level implements Bundlable {
|
||||||
if (heap == null) {
|
if (heap == null) {
|
||||||
|
|
||||||
heap = new Heap();
|
heap = new Heap();
|
||||||
|
heap.seen = fieldOfView[cell];
|
||||||
heap.pos = cell;
|
heap.pos = cell;
|
||||||
if (map[cell] == Terrain.CHASM || (Dungeon.level != null && pit[cell])) {
|
if (map[cell] == Terrain.CHASM || (Dungeon.level != null && pit[cell])) {
|
||||||
Dungeon.dropToChasm( item );
|
Dungeon.dropToChasm( item );
|
||||||
|
|
Loading…
Reference in New Issue
Block a user