v0.6.2: fixed a rare visual bug with dropped items
This commit is contained in:
parent
3fff744394
commit
c249a52f41
|
@ -669,6 +669,7 @@ public abstract class Level implements Bundlable {
|
|||
heap = new Heap();
|
||||
heap.seen = Dungeon.level == this && heroFOV[cell];
|
||||
heap.pos = cell;
|
||||
heap.drop(item);
|
||||
if (map[cell] == Terrain.CHASM || (Dungeon.level != null && pit[cell])) {
|
||||
Dungeon.dropToChasm( item );
|
||||
GameScene.discard( heap );
|
||||
|
@ -685,8 +686,9 @@ public abstract class Level implements Bundlable {
|
|||
} while (!passable[n] && !avoid[n]);
|
||||
return drop( item, n );
|
||||
|
||||
} else {
|
||||
heap.drop(item);
|
||||
}
|
||||
heap.drop(item);
|
||||
|
||||
if (Dungeon.level != null) {
|
||||
press( cell, null );
|
||||
|
|
Loading…
Reference in New Issue
Block a user