Modify object loading for JSON-only objects

This commit is contained in:
Gymnasiast committed 2021-09-15 11:28:39 +02:00
1 parent 37821ce25e
commit bdab3219cb
52 files changed
+706 -499

No files matched your search

+1 -1
View File
@@ -82,7 +82,7 @@ public:
item.Name = GetNameFromTrackPath(path);
item.Path = path;
item.RideType = td6->type;
item.ObjectEntry = std::string(td6->vehicle_object.name, 8);
item.ObjectEntry = std::string(td6->vehicle_object.Entry.name, 8);
item.Flags = 0;
if (IsTrackReadOnly(path))
{