1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 14:24:33 +01:00

Create strong enum for RideCategory

This commit is contained in:
Gymnasiast
2025-03-06 22:41:24 +01:00
parent 114e8da200
commit 9778d7b0ba
104 changed files with 145 additions and 139 deletions

View File

@@ -149,7 +149,10 @@ protected:
{
case ObjectType::ride:
ds << item.RideInfo.RideFlags;
ds << item.RideInfo.RideCategory;
for (size_t i = 0; i < std::size(item.RideInfo.rideCategory); i++)
{
ds << item.RideInfo.rideCategory[i];
}
ds << item.RideInfo.RideType;
break;
case ObjectType::sceneryGroup: