Minor fix

This commit is contained in:
scrawl 2015-12-12 18:33:55 +01:00
parent 359b0b3772
commit 295563ba65

View file

@ -55,7 +55,7 @@ namespace Resource
return static_cast<NifFileHolder*>(obj.get())->mNifFile; return static_cast<NifFileHolder*>(obj.get())->mNifFile;
else 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); obj = new NifFileHolder(file);
mCache->addEntryToObjectCache(name, obj); mCache->addEntryToObjectCache(name, obj);
return file; return file;