mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
sort the lands in geom-exp by quality
This commit is contained in:
parent
854c1dd3d2
commit
1dee3098cf
@ -377,6 +377,7 @@ void showEuclideanMenu() {
|
||||
dialog::addBreak(50);
|
||||
|
||||
generateLandList(isLandValid);
|
||||
stable_sort(landlist.begin(), landlist.end(), [] (eLand l1, eLand l2) { return isLandValid(l1) > isLandValid(l2); });
|
||||
|
||||
for(int i=0; i<euperpage; i++) {
|
||||
if(euperpage * eupage + i >= size(landlist)) { dialog::addBreak(100); break; }
|
||||
|
Loading…
Reference in New Issue
Block a user