mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-03 21:45:34 +00:00
Don't attempt to load external keyframes for non-NIF files
This commit is contained in:
parent
795f6d77f2
commit
1ec338f19d
1 changed files with 2 additions and 0 deletions
|
@ -394,6 +394,8 @@ namespace MWRender
|
||||||
|
|
||||||
if(kfname.size() > 4 && kfname.compare(kfname.size()-4, 4, ".nif") == 0)
|
if(kfname.size() > 4 && kfname.compare(kfname.size()-4, 4, ".nif") == 0)
|
||||||
kfname.replace(kfname.size()-4, 4, ".kf");
|
kfname.replace(kfname.size()-4, 4, ".kf");
|
||||||
|
else
|
||||||
|
return;
|
||||||
|
|
||||||
if(!mResourceSystem->getVFS()->exists(kfname))
|
if(!mResourceSystem->getVFS()->exists(kfname))
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue