v0.3.1: fixed a bug where non-regular doors would spawn as hidden.
This commit is contained in:
parent
8334332d0f
commit
36ccb6d48d
|
@ -100,6 +100,7 @@ public class SewerLevel extends RegularLevel {
|
||||||
if (Dungeon.depth == 2)
|
if (Dungeon.depth == 2)
|
||||||
for (Room r : roomEntrance.connected.keySet()){
|
for (Room r : roomEntrance.connected.keySet()){
|
||||||
Room.Door d = roomEntrance.connected.get(r);
|
Room.Door d = roomEntrance.connected.get(r);
|
||||||
|
if (d.type == Room.Door.Type.REGULAR)
|
||||||
map[d.x + d.y * WIDTH] = Terrain.SECRET_DOOR;
|
map[d.x + d.y * WIDTH] = Terrain.SECRET_DOOR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user