v0.3.0c: centralized general sign placement logic, fixed a bug where traps would sometimes appear over signs.
This commit is contained in:
committed by
Evan Debenham
parent
8a6b970c1f
commit
976ff5cb96
@@ -256,13 +256,7 @@ public class PrisonBossLevel extends RegularLevel {
|
||||
}
|
||||
}
|
||||
|
||||
while (true) {
|
||||
int pos = roomEntrance.random();
|
||||
if (pos != entrance) {
|
||||
map[pos] = Terrain.SIGN;
|
||||
break;
|
||||
}
|
||||
}
|
||||
placeSign();
|
||||
|
||||
Point door = roomExit.entrance();
|
||||
arenaDoor = door.x + door.y * WIDTH;
|
||||
|
||||
Reference in New Issue
Block a user