mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 21:47:42 +00:00
More CScriptSpecialFunction imps, fix intermittent crash in CAnimTreeTweenBase
This commit is contained in:
@@ -35,7 +35,10 @@ void CAnimTreeTweenBase::VGetSegStatementSet(const CSegIdList& list, CSegStateme
|
||||
else if (sStack > 3)
|
||||
{
|
||||
auto& n = w > 0.5f ? x18_b : x14_a;
|
||||
n->GetBestUnblendedChild()->VGetSegStatementSet(list, setOut);
|
||||
auto ptr = n->GetBestUnblendedChild();
|
||||
if (!ptr)
|
||||
ptr = n;
|
||||
ptr->VGetSegStatementSet(list, setOut);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user