mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Fix LegoTreeNode*
construction (#1530)
* Fix LegoTreeNode* construction * Fix
This commit is contained in:

committed by
GitHub

parent
211d409992
commit
168bd4b26c
@@ -431,7 +431,7 @@ void LegoCarBuildAnimPresenter::FUN_10079160()
|
|||||||
destData->SetName(data2->GetName());
|
destData->SetName(data2->GetName());
|
||||||
|
|
||||||
destNode->SetNumChildren(1);
|
destNode->SetNumChildren(1);
|
||||||
children = new LegoTreeNode*;
|
children = new LegoTreeNode*[1];
|
||||||
assert(children);
|
assert(children);
|
||||||
*children = FindNodeByName(m_anim->GetRoot(), "PLATFORM");
|
*children = FindNodeByName(m_anim->GetRoot(), "PLATFORM");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user