v0.2.2: small tweaks/fixes to heroes remains

This commit is contained in:
Evan Debenham 2014-10-30 20:53:45 -04:00
parent 9d19a785ba
commit bea33b33b1
2 changed files with 3 additions and 1 deletions

View File

@ -637,7 +637,7 @@ public class Hero extends Char {
Heap heap = Dungeon.level.heaps.get( dst );
if (heap != null &&
(heap.type == Type.CHEST || heap.type == Type.TOMB || heap.type == Type.SKELETON ||
heap.type == Type.LOCKED_CHEST || heap.type == Type.CRYSTAL_CHEST)) {
heap.type == Type.REMAINS || heap.type == Type.LOCKED_CHEST || heap.type == Type.CRYSTAL_CHEST)) {
theKey = null;

View File

@ -47,6 +47,8 @@ public class Food extends Item {
stackable = true;
name = "ration of food";
image = ItemSpriteSheet.RATION;
bones = true;
}
@Override