V0.2.1 : Ankh now actually only resets the level when it is locked

This commit is contained in:
Evan Debenham 2014-10-13 13:28:15 -04:00
parent e72df0f32a
commit 01fa54eb38

View File

@ -318,7 +318,7 @@ public class InterlevelScene extends PixelScene {
Actor.fixTime();
if (Dungeon.bossLevel()) {
if (Dungeon.level.locked) {
Dungeon.hero.resurrect( Dungeon.depth );
Dungeon.depth--;
Level level = Dungeon.newLevel(/* true */);