1
0
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:
ζeh Matt
2025-09-24 15:46:38 +03:00
parent 5c693e56d6
commit 3bf75a1bc1

View File

@@ -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: