1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 18:19:55 +00:00

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

This commit is contained in:
scrawl 2015-12-03 20:11:28 +01:00
parent 795f6d77f2
commit 1ec338f19d

View file

@ -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;