zenorogue / hyperrogue

A SDL roguelike in a non-euclidean world
GNU General Public License v2.0
554 stars 66 forks source link

Prune table of new land candidates. #377

Closed jlmjlm closed 2 months ago

jlmjlm commented 2 months ago

In getNewLand(), iterate through the table of candidate new lands and remove all ineligible entries before picking one of them at random to be the new land.