v0.4.1: fixed golen chests not opening properly
This commit is contained in:
parent
f961f3105d
commit
2e9f307a60
|
@ -695,7 +695,7 @@ public class Hero extends Char {
|
|||
Heap heap = Dungeon.level.heaps.get( dst );
|
||||
if (heap != null && (heap.type != Type.HEAP && heap.type != Type.FOR_SALE)) {
|
||||
|
||||
if (heap.type == Type.LOCKED_CHEST || heap.type == Type.CRYSTAL_CHEST
|
||||
if ((heap.type == Type.LOCKED_CHEST || heap.type == Type.CRYSTAL_CHEST)
|
||||
&& belongings.specialKeys[Dungeon.depth] < 1) {
|
||||
|
||||
GLog.w( Messages.get(this, "locked_chest") );
|
||||
|
|
Loading…
Reference in New Issue
Block a user