CNewIntroBoss: Correct base class call to DoUserAnimEvent()

This function actually calls CPatterned's implementation of
DoUserAnimEvent(), not CActor's.
This commit is contained in:
Lioncash 2020-01-15 15:31:13 -05:00
parent 677687f228
commit 9ce652bfd6
1 changed files with 3 additions and 2 deletions

View File

@ -297,8 +297,9 @@ void CNewIntroBoss::DoUserAnimEvent(CStateManager& mgr, const CInt32POINode& nod
StopRumble(mgr);
x63c_attackTime = GetNextAttackTime(mgr);
SendScriptMsgs(EScriptObjectState::Attack, mgr, EScriptObjectMessage::None);
} else
CActor::DoUserAnimEvent(mgr, node, event, dt);
} else {
CPatterned::DoUserAnimEvent(mgr, node, event, dt);
}
}
void CNewIntroBoss::AddToRenderer(const zeus::CFrustum&, const CStateManager& mgr) const { EnsureRendered(mgr); }