Open BeefaloKing opened 4 years ago
It appears as if areas with more than one vis column associated with one or more exits (i.e. Stub.visList contains more than one non 255 value) cannot have a double edge with any other area.
Replacing Durance of Hate Level 2 with maps from either Flayer Dungeon or Swampy Pit allows both links to be made correctly in the example above.
Additionally, Durance of Hate Level 1 and 2 appear to be the only areas that could be involved in an invalid loop (with how the maps are currently generated). Could either add hard-coded checks for these two areas or fix with a more object-oriented friendly rewrite.
Run on commit 768136b6c0fc2b8f2839bbb430eeb3e49cc5c095
Loop created between Flayer Jungle and Durance of Hate Level 2. One entrance pair works, the other crashes.