Make unknown satisfaction go at the bottom when sorted by highest

This commit is contained in:
ζeh Matt committed 2025-09-27 20:21:30 +03:00
1 parent 5c693e56d6
commit 3bf75a1bc1
1 file changed
+1 -1
+1 -1
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: