mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-01 07:39:47 +00:00
Fix case sensitive comparison
This commit is contained in:
parent
45c84a2426
commit
3138eb406b
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ std::string Misc::ResourceHelpers::correctActorModelPath(const std::string& resP
|
|||
else
|
||||
mdlname.insert(mdlname.begin(), 'x');
|
||||
std::string kfname = mdlname;
|
||||
if (kfname.ends_with(".nif"))
|
||||
if (Misc::StringUtils::ciEndsWith(kfname, ".nif"))
|
||||
kfname.replace(kfname.size() - 4, 4, ".kf");
|
||||
|
||||
if (!vfs->exists(kfname))
|
||||
|
|
Loading…
Reference in a new issue