From 7e453d491a573de3429238c218bda8dc4cd4529b Mon Sep 17 00:00:00 2001 From: elsid Date: Thu, 19 Sep 2024 00:53:27 +0200 Subject: [PATCH] Remove redundant toNormalized --- apps/openmw/mwrender/animation.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/openmw/mwrender/animation.cpp b/apps/openmw/mwrender/animation.cpp index 5b7d1db78a..64e961e22e 100644 --- a/apps/openmw/mwrender/animation.cpp +++ b/apps/openmw/mwrender/animation.cpp @@ -1508,10 +1508,10 @@ namespace MWRender } 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") - loadBonesFromFile(node, VFS::Path::toNormalized(name), resourceSystem); + loadBonesFromFile(node, name, resourceSystem); } }