v0.3.1: fixed a bug with heap visibility
This commit is contained in:
parent
2893e67375
commit
ddabd4facb
|
@ -700,7 +700,7 @@ public abstract class Level implements Bundlable {
|
||||||
if (heap == null) {
|
if (heap == null) {
|
||||||
|
|
||||||
heap = new Heap();
|
heap = new Heap();
|
||||||
heap.seen = fieldOfView[cell];
|
heap.seen = Dungeon.visible[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