v0.9.2: fixed cave fissure rooms messing with levelgen
This commit is contained in:
+1
@@ -121,6 +121,7 @@ public class CavesFissureRoom extends StandardRoom {
|
|||||||
|
|
||||||
//just become an empty room if we can't make at least 2 lines
|
//just become an empty room if we can't make at least 2 lines
|
||||||
if (lineAngles.size() < 2) {
|
if (lineAngles.size() < 2) {
|
||||||
|
PathFinder.setMapSize(level.width(), level.height());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user