v0.3.1: fixed a bug where heaps seen by anything woul register as seen by the hero
This commit is contained in:
parent
d7e849b3ab
commit
eaf84f4274
|
@ -971,7 +971,7 @@ public abstract class Level implements Bundlable {
|
|||
}
|
||||
|
||||
for (Heap heap : heaps.values())
|
||||
if (!heap.seen && fieldOfView[heap.pos])
|
||||
if (!heap.seen && fieldOfView[heap.pos] && c == Dungeon.hero)
|
||||
heap.seen = true;
|
||||
|
||||
return fieldOfView;
|
||||
|
|
Loading…
Reference in New Issue
Block a user