v0.7.0: scrolls of passage now return the hero to a level's entrance
This commit is contained in:
parent
2b90528004
commit
e9976beefd
|
@ -363,7 +363,7 @@ public class Dungeon {
|
|||
public static void switchLevel( final Level level, int pos ) {
|
||||
|
||||
if (pos < 0 || pos >= level.length()){
|
||||
pos = level.exit;
|
||||
pos = level.entrance;
|
||||
}
|
||||
|
||||
PathFinder.setMapSize(level.width(), level.height());
|
||||
|
|
Loading…
Reference in New Issue
Block a user