v0.2.4a: lloyds beacon no longer loses its target position when it is used.

This commit is contained in:
Evan Debenham 2015-02-25 16:36:37 -05:00
parent e9f28a1f75
commit bfd3dd7088

View File

@ -134,7 +134,6 @@ public class LloydsBeacon extends Item {
} else if (action == AC_RETURN) { } else if (action == AC_RETURN) {
if (returnDepth == Dungeon.depth) { if (returnDepth == Dungeon.depth) {
reset();
WandOfBlink.appear( hero, returnPos ); WandOfBlink.appear( hero, returnPos );
Dungeon.level.press( returnPos, hero ); Dungeon.level.press( returnPos, hero );
Dungeon.observe(); Dungeon.observe();
@ -149,7 +148,6 @@ public class LloydsBeacon extends Item {
InterlevelScene.mode = InterlevelScene.Mode.RETURN; InterlevelScene.mode = InterlevelScene.Mode.RETURN;
InterlevelScene.returnDepth = returnDepth; InterlevelScene.returnDepth = returnDepth;
InterlevelScene.returnPos = returnPos; InterlevelScene.returnPos = returnPos;
reset();
Game.switchScene( InterlevelScene.class ); Game.switchScene( InterlevelScene.class );
} }