Fix violation of strict weak ordering in TownRatingSorter
This commit is contained in:
@@ -957,7 +957,7 @@ private:
|
||||
|
||||
/* Sort unrated towns always on ascending town name. */
|
||||
if (before) return TownDirectoryWindow::TownNameSorter(a, b);
|
||||
return !TownDirectoryWindow::TownNameSorter(a, b);
|
||||
return TownDirectoryWindow::TownNameSorter(b, a);
|
||||
}
|
||||
|
||||
public:
|
||||
|
Reference in New Issue
Block a user