|
|
@ -49,7 +49,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->getNormalized(name), name));
|
|
|
|
Nif::NIFFilePtr file (new Nif::NIFFile(mVFS->get(name), name));
|
|
|
|
obj = new NifFileHolder(file);
|
|
|
|
obj = new NifFileHolder(file);
|
|
|
|
mCache->addEntryToObjectCache(name, obj);
|
|
|
|
mCache->addEntryToObjectCache(name, obj);
|
|
|
|
return file;
|
|
|
|
return file;
|
|
|
|