Finish some missing methods (#448)

* Finish some missing methods

* Minor style updates/fixes

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
Nathan M Gilbert
2024-01-17 12:08:48 -05:00
committed by GitHub
parent 240ca5570d
commit b25239f22d
8 changed files with 66 additions and 8 deletions

View File

@@ -58,9 +58,7 @@ void LegoEntity::Destroy(MxBool p_fromDestructor)
}
else {
VideoManager()->Get3DManager()->GetLego3DView()->Remove(*m_roi);
if (m_roi)
delete m_roi;
delete m_roi;
}
}