Minor fix

openmw-38
scrawl 9 years ago
parent 359b0b3772
commit 295563ba65

@ -55,7 +55,7 @@ namespace Resource
return static_cast<NifFileHolder*>(obj.get())->mNifFile;
else
{
Nif::NIFFilePtr file (new Nif::NIFFile(mVFS->get(name), name));
Nif::NIFFilePtr file (new Nif::NIFFile(mVFS->getNormalized(name), name));
obj = new NifFileHolder(file);
mCache->addEntryToObjectCache(name, obj);
return file;

Loading…
Cancel
Save