From 2cdebfe1640ecaafe352f04cd7cf84099385eaa3 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sun, 19 Jul 2015 02:57:49 -0400 Subject: [PATCH] v0.3.1: updated itemsprite to go along with other heap changes --- .../shatteredpixeldungeon/sprites/ItemSprite.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/sprites/ItemSprite.java b/src/com/shatteredpixel/shatteredpixeldungeon/sprites/ItemSprite.java index d5a0610d8..ba016c57b 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/sprites/ItemSprite.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/sprites/ItemSprite.java @@ -201,7 +201,7 @@ public class ItemSprite extends MovieClip { public void update() { super.update(); - visible = (heap == null || Dungeon.visible[heap.pos]); + visible = (heap == null || heap.seen); if (dropInterval > 0 && (dropInterval -= Game.elapsed) <= 0) {