2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 22:27:43 +00:00

More CPatterned imps

This commit is contained in:
2018-09-13 17:49:34 -07:00
parent 34c4a038aa
commit 679ce01a61
24 changed files with 491 additions and 43 deletions

View File

@@ -90,7 +90,7 @@ void CBodyController::Update(float dt, CStateManager& mgr)
if (x300_25_active)
{
x300_24_animationOver =
!x0_actor.GetModelData()->GetAnimationData()->IsAnimTimeRemaining(dt, "Whole Body");
!x0_actor.GetModelData()->GetAnimationData()->IsAnimTimeRemaining(dt, "Whole Body"sv);
x4_cmdMgr.BlendSteeringCmds();
x2dc_rot = zeus::CQuaternion::skNoRotation;
UpdateBody(dt, mgr);
@@ -306,7 +306,7 @@ void CBodyController::UpdateFrozenInfo(float dt, CStateManager& mgr)
{
UnFreeze();
x0_actor.SendScriptMsgs(EScriptObjectState::UnFrozen, mgr, EScriptObjectMessage::None);
mgr.GetActorModelParticles()->StartIce(x0_actor, mgr);
mgr.GetActorModelParticles()->StartIce(x0_actor);
return;
}
if (x310_timeFrozen <= totalTime)