mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-28 17:24:47 +01:00
Always try mapping footpaths for .park files
This commit is contained in:
committed by
GitHub
parent
b77aa9a956
commit
31d2092b69
@@ -148,10 +148,12 @@ const ObjectEntryDescriptor& ObjectList::GetObject(ObjectType type, ObjectEntryI
|
||||
return placeholder;
|
||||
}
|
||||
|
||||
void ObjectList::Add(const ObjectEntryDescriptor& entry)
|
||||
ObjectEntryIndex ObjectList::Add(const ObjectEntryDescriptor& entry)
|
||||
{
|
||||
auto& subList = GetList(entry.GetType());
|
||||
auto index = subList.size();
|
||||
subList.push_back(entry);
|
||||
return static_cast<ObjectEntryIndex>(index);
|
||||
}
|
||||
|
||||
void ObjectList::SetObject(ObjectEntryIndex index, const ObjectEntryDescriptor& entry)
|
||||
|
||||
Reference in New Issue
Block a user