1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-02 09:19:40 +00:00

Merge remote-tracking branch 'scrawl/nif_file'

This commit is contained in:
Marc Zinnschlag 2013-01-12 10:10:35 +01:00
commit ecdd89a4f3

View file

@ -177,6 +177,8 @@ NIFFile::NIFFile(const std::string &name, psudo_private_modifier)
{
inp = Ogre::ResourceGroupManager::getSingleton().openResource(name);
parse();
// Make sure to close the file after it was loaded into memory
inp.setNull();
}
NIFFile::~NIFFile()