mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 14:24:33 +01:00
Move track and vehicle settings to their own struct
This commit is contained in:
@@ -79,8 +79,8 @@ public:
|
||||
TrackRepositoryItem item;
|
||||
item.Name = GetNameFromTrackPath(path);
|
||||
item.Path = path;
|
||||
item.RideType = td->type;
|
||||
item.ObjectEntry = std::string(td->vehicleObject.Entry.name, 8);
|
||||
item.RideType = td->trackAndVehicle.rtdIndex;
|
||||
item.ObjectEntry = std::string(td->trackAndVehicle.vehicleObject.Entry.name, 8);
|
||||
item.Flags = 0;
|
||||
if (IsTrackReadOnly(path))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user