Remove rideCategory field from ObjectRepositoryItem struct

This commit is contained in:
discollizard authored and GitHub committed 2025-03-11 17:36:17 +01:00
1 parent b29fb512fd
commit bef76d5017
3 files changed
+1 -14

No files matched your search

+1 -5
View File
@@ -76,7 +76,7 @@ class ObjectFileIndex final : public FileIndex<ObjectRepositoryItem>
{
private:
static constexpr uint32_t MAGIC_NUMBER = 0x5844494F; // OIDX
static constexpr uint16_t VERSION = 30;
static constexpr uint16_t VERSION = 31;
static constexpr auto PATTERN = "*.dat;*.pob;*.json;*.parkobj";
IObjectRepository& _objectRepository;
@@ -149,10 +149,6 @@ protected:
{
case ObjectType::ride:
ds << item.RideInfo.RideFlags;
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: