Implement/match LegoModelPresenter::FUN_1007ff70 (#622)

This commit is contained in:
Christian Semmler
2024-03-04 12:26:36 -05:00
committed by GitHub
parent c2a46b058b
commit d3b575169e
4 changed files with 33 additions and 11 deletions

View File

@@ -203,9 +203,9 @@ void LegoWorld::Destroy(MxBool p_fromDestructor)
m_cacheSoundList = NULL;
}
while (!m_list0xe0.empty()) {
LegoROI* roi = m_list0xe0.front();
m_list0xe0.pop_front();
while (!m_roiList.empty()) {
LegoROI* roi = m_roiList.front();
m_roiList.pop_front();
delete roi;
}