forked from teamnwah/openmw-tes3coop
Minor fix
This commit is contained in:
parent
359b0b3772
commit
295563ba65
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue