1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-03 17:37:18 +00:00

Add missing non-prefixed reserved nodes

This commit is contained in:
elsid 2022-09-16 12:36:00 +02:00
parent 86ff454ca2
commit ac01fd5e75
No known key found for this signature in database
GPG Key ID: 4DE04C198CBA7625

View File

@ -667,10 +667,11 @@ namespace Resource
};
std::vector<std::string> result;
result.reserve(std::size(names));
result.reserve(2 * std::size(names));
for (std::string_view name : names)
{
result.emplace_back(name);
std::string prefixedName("Tri ");
prefixedName += name;
result.push_back(std::move(prefixedName));