mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-22 23:33:04 +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;
|
break;
|
||||||
case INFORMATION_TYPE_SATISFACTION:
|
case INFORMATION_TYPE_SATISFACTION:
|
||||||
SortListByPredicate([](const Ride& thisRide, const Ride& otherRide) -> bool {
|
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;
|
break;
|
||||||
case INFORMATION_TYPE_PROFIT:
|
case INFORMATION_TYPE_PROFIT:
|
||||||
|
|||||||
Reference in New Issue
Block a user