mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-01 03:09:42 +00:00
Crash fix
This commit is contained in:
parent
1affa497d5
commit
baa152328a
1 changed files with 1 additions and 1 deletions
|
@ -414,7 +414,7 @@ namespace NifOsg
|
|||
if (nifNode == NULL)
|
||||
nif->fail("First root was not a node, but a " + r->recName);
|
||||
|
||||
osg::Node* created = handleNode(nifNode, false, std::map<int, int>(), 0, 0, false, textKeys);
|
||||
osg::ref_ptr<osg::Node> created = handleNode(nifNode, false, std::map<int, int>(), 0, 0, false, textKeys);
|
||||
return created;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue