mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 15:11:36 -04:00
Don't attempt to load external keyframes for non-NIF files
This commit is contained in:
parent
795f6d77f2
commit
1ec338f19d
@ -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…
x
Reference in New Issue
Block a user