v0.2.4a: lloyds beacon no longer loses its target position when it is used.
This commit is contained in:
parent
e9f28a1f75
commit
bfd3dd7088
|
@ -134,7 +134,6 @@ public class LloydsBeacon extends Item {
|
|||
} else if (action == AC_RETURN) {
|
||||
|
||||
if (returnDepth == Dungeon.depth) {
|
||||
reset();
|
||||
WandOfBlink.appear( hero, returnPos );
|
||||
Dungeon.level.press( returnPos, hero );
|
||||
Dungeon.observe();
|
||||
|
@ -149,7 +148,6 @@ public class LloydsBeacon extends Item {
|
|||
InterlevelScene.mode = InterlevelScene.Mode.RETURN;
|
||||
InterlevelScene.returnDepth = returnDepth;
|
||||
InterlevelScene.returnPos = returnPos;
|
||||
reset();
|
||||
Game.switchScene( InterlevelScene.class );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user