mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-17 13:02:27 +01:00
Make unknown popularity go at the bottom when sorted by highest
This commit is contained in:
@@ -995,7 +995,7 @@ namespace OpenRCT2::Ui::Windows
|
||||
break;
|
||||
case INFORMATION_TYPE_POPULARITY:
|
||||
SortListByPredicate([](const Ride& thisRide, const Ride& otherRide) -> bool {
|
||||
return thisRide.popularity < otherRide.popularity;
|
||||
return static_cast<int8_t>(thisRide.popularity) < static_cast<int8_t>(otherRide.popularity);
|
||||
});
|
||||
break;
|
||||
case INFORMATION_TYPE_SATISFACTION:
|
||||
|
||||
Reference in New Issue
Block a user