Fix LegoTreeNode* construction (#1530)

* Fix LegoTreeNode* construction

* Fix
This commit is contained in:
Christian Semmler 2025-05-29 14:41:57 -07:00 committed by GitHub
parent 211d409992
commit 168bd4b26c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -431,7 +431,7 @@ void LegoCarBuildAnimPresenter::FUN_10079160()
destData->SetName(data2->GetName());
destNode->SetNumChildren(1);
children = new LegoTreeNode*;
children = new LegoTreeNode*[1];
assert(children);
*children = FindNodeByName(m_anim->GetRoot(), "PLATFORM");