v2.4.0: slightly improved layouts for caves fissure entrance/exits
This commit is contained in:
+1
-1
@@ -51,7 +51,7 @@ public class CavesFissureEntranceRoom extends CavesFissureRoom {
|
||||
} while (level.map[entrance] == Terrain.CHASM || level.map[entrance] == Terrain.EMPTY_SP || level.findMob(entrance) != null);
|
||||
|
||||
|
||||
for (int i : PathFinder.NEIGHBOURS8){
|
||||
for (int i : PathFinder.NEIGHBOURS4){
|
||||
if (level.map[entrance+i] == Terrain.CHASM) {
|
||||
Painter.set(level, entrance + i, Terrain.EMPTY);
|
||||
}
|
||||
|
||||
+1
-1
@@ -53,7 +53,7 @@ public class CavesFissureExitRoom extends CavesFissureRoom {
|
||||
|| level.findMob(exit) != null);
|
||||
|
||||
|
||||
for (int i : PathFinder.NEIGHBOURS8){
|
||||
for (int i : PathFinder.NEIGHBOURS4){
|
||||
if (level.map[exit+i] == Terrain.CHASM) {
|
||||
Painter.set(level, exit + i, Terrain.EMPTY);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user