From 5c693e56d630b11a35ce37dbf10817bcd7a5bccc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=B6eh=20Matt?= <5415177+ZehMatt@users.noreply.github.com> Date: Wed, 24 Sep 2025 15:45:26 +0300 Subject: [PATCH] Make unknown popularity go at the bottom when sorted by highest --- src/openrct2-ui/windows/RideList.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openrct2-ui/windows/RideList.cpp b/src/openrct2-ui/windows/RideList.cpp index d88ce4896f..342877d88b 100644 --- a/src/openrct2-ui/windows/RideList.cpp +++ b/src/openrct2-ui/windows/RideList.cpp @@ -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(thisRide.popularity) < static_cast(otherRide.popularity); }); break; case INFORMATION_TYPE_SATISFACTION: