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