1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-04-21 07:36:45 +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; std::vector<std::string> result;
result.reserve(std::size(names)); result.reserve(2 * std::size(names));
for (std::string_view name : names) for (std::string_view name : names)
{ {
result.emplace_back(name);
std::string prefixedName("Tri "); std::string prefixedName("Tri ");
prefixedName += name; prefixedName += name;
result.push_back(std::move(prefixedName)); result.push_back(std::move(prefixedName));