Update Level.java
This commit is contained in:
parent
fa0a0463c5
commit
0ebed3b0f5
|
@ -184,7 +184,7 @@ public abstract class Level implements Bundlable {
|
|||
}
|
||||
}
|
||||
|
||||
boolean pitNeeded = Dungeon.depth == 1 ? false : weakFloorCreated;
|
||||
boolean pitNeeded = Dungeon.depth > 1 && weakFloorCreated;
|
||||
|
||||
do {
|
||||
Arrays.fill( map, feeling == Feeling.CHASM ? Terrain.CHASM : Terrain.WALL );
|
||||
|
@ -227,6 +227,8 @@ public abstract class Level implements Bundlable {
|
|||
entrance = bundle.getInt( ENTRANCE );
|
||||
exit = bundle.getInt( EXIT );
|
||||
|
||||
weakFloorCreated = false;
|
||||
|
||||
adjustMapSize();
|
||||
|
||||
Collection<Bundlable> collection = bundle.getCollection( HEAPS );
|
||||
|
|
Loading…
Reference in New Issue
Block a user