mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 21:23:52 +00:00
Merge remote-tracking branch 'scrawl/nif_file'
This commit is contained in:
commit
ecdd89a4f3
1 changed files with 2 additions and 0 deletions
|
@ -177,6 +177,8 @@ NIFFile::NIFFile(const std::string &name, psudo_private_modifier)
|
||||||
{
|
{
|
||||||
inp = Ogre::ResourceGroupManager::getSingleton().openResource(name);
|
inp = Ogre::ResourceGroupManager::getSingleton().openResource(name);
|
||||||
parse();
|
parse();
|
||||||
|
// Make sure to close the file after it was loaded into memory
|
||||||
|
inp.setNull();
|
||||||
}
|
}
|
||||||
|
|
||||||
NIFFile::~NIFFile()
|
NIFFile::~NIFFile()
|
||||||
|
|
Loading…
Reference in a new issue