mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-27 00:34:46 +01:00
Introduce PeepNamesObjects for 'real' names of peeps (#22758)
* Add initial PeepNamesObject implementation * Add peep names object to default objects * Append peep names object to object list for older saves * Deduplicate AppendRequiredObjects functions * Remove built-in 'real name' tables * Increment park version; introduce kPeepNamesObjectsVersion * Update objects dependency to v1.4.8
This commit is contained in:
@@ -373,6 +373,13 @@ namespace OpenRCT2
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
if (version < kPeepNamesObjectsVersion)
|
||||
{
|
||||
AppendRequiredObjects(
|
||||
requiredObjects, ObjectType::PeepNames, std::vector<std::string>({ "rct2.peep_names.original" }));
|
||||
}
|
||||
|
||||
RequiredObjects = std::move(requiredObjects);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user