1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-06-19 09:11:33 +00:00

Remove unnecessary null check

This commit is contained in:
Capostrophic 2020-05-15 10:34:49 +03:00
parent 72e5043eda
commit 78b1bbe130

View file

@ -49,8 +49,6 @@ namespace SceneUtil
return; return;
osg::Node* node = &drawable; osg::Node* node = &drawable;
if (!node)
return;
while (node->getNumParents()) while (node->getNumParents())
{ {
osg::Group* parent = node->getParent(0); osg::Group* parent = node->getParent(0);