v0.3.1: fixed a bug with heap visibility
This commit is contained in:
committed by
Evan Debenham
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 );
|
||||||
|
|||||||
Reference in New Issue
Block a user