Use normalized path for correctActorModelPath

This commit is contained in:
elsid 2024-10-19 14:07:47 +02:00
parent 376911f645
commit afa769408a
No known key found for this signature in database
GPG key ID: 4DE04C198CBA7625
10 changed files with 30 additions and 25 deletions

View file

@ -33,7 +33,7 @@ namespace Misc
std::string correctBookartPath(std::string_view resPath, int width, int height, const VFS::Manager* vfs);
/// Use "xfoo.nif" instead of "foo.nif" if "xfoo.kf" is available
/// Note that if "xfoo.nif" is actually unavailable, we can't fall back to "foo.nif". :(
std::string correctActorModelPath(std::string_view resPath, const VFS::Manager* vfs);
VFS::Path::Normalized correctActorModelPath(VFS::Path::NormalizedView resPath, const VFS::Manager* vfs);
std::string correctMaterialPath(std::string_view resPath, const VFS::Manager* vfs);
// Adds "meshes\\".