1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-07-06 08:11:35 +00:00

Remove redundant toNormalized

This commit is contained in:
elsid 2024-09-19 00:53:27 +02:00
parent 5f2582fe68
commit 7e453d491a
No known key found for this signature in database
GPG key ID: 4DE04C198CBA7625

View file

@ -1508,10 +1508,10 @@ namespace MWRender
} }
animationPath.replace(animationPath.size() - 4, 4, "/"); animationPath.replace(animationPath.size() - 4, 4, "/");
for (const auto& name : resourceSystem->getVFS()->getRecursiveDirectoryIterator(animationPath)) for (const VFS::Path::Normalized& name : resourceSystem->getVFS()->getRecursiveDirectoryIterator(animationPath))
{ {
if (Misc::getFileExtension(name) == "nif") if (Misc::getFileExtension(name) == "nif")
loadBonesFromFile(node, VFS::Path::toNormalized(name), resourceSystem); loadBonesFromFile(node, name, resourceSystem);
} }
} }