Don't attempt to load external keyframes for non-NIF files

openmw-38
scrawl 9 years ago
parent 795f6d77f2
commit 1ec338f19d

@ -394,6 +394,8 @@ namespace MWRender
if(kfname.size() > 4 && kfname.compare(kfname.size()-4, 4, ".nif") == 0)
kfname.replace(kfname.size()-4, 4, ".kf");
else
return;
if(!mResourceSystem->getVFS()->exists(kfname))
return;

Loading…
Cancel
Save