mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 18:24:55 +00:00
Disable CPatterned branches in CScriptActorKeyframe for now, update submodules
This commit is contained in:
@@ -95,6 +95,9 @@ void CScriptActorKeyframe::Think(float dt, CStateManager& mgr)
|
|||||||
animData->EnableLooping(false);
|
animData->EnableLooping(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// TODO: Re-enable this
|
||||||
|
|
||||||
|
#if 0
|
||||||
else if (TCastToPtr<CPatterned> ai = ent)
|
else if (TCastToPtr<CPatterned> ai = ent)
|
||||||
{
|
{
|
||||||
CAnimData* animData = ai->ModelData()->AnimationData();
|
CAnimData* animData = ai->ModelData()->AnimationData();
|
||||||
@@ -108,6 +111,7 @@ void CScriptActorKeyframe::Think(float dt, CStateManager& mgr)
|
|||||||
ai->BodyController()->GetCommandMgr().DeliverCmd(CBodyStateCmd(EBodyStateCmd::ExitState));
|
ai->BodyController()->GetCommandMgr().DeliverCmd(CBodyStateCmd(EBodyStateCmd::ExitState));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
CEntity::Think(dt, mgr);
|
CEntity::Think(dt, mgr);
|
||||||
@@ -142,6 +146,8 @@ void CScriptActorKeyframe::UpdateEntity(TUniqueId uid, CStateManager& mgr)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// TODO: Re-enable this
|
||||||
|
#if 0
|
||||||
else if (TCastToPtr<CPatterned> ai = ent)
|
else if (TCastToPtr<CPatterned> ai = ent)
|
||||||
{
|
{
|
||||||
CAnimData* animData = ai->ModelData()->AnimationData();
|
CAnimData* animData = ai->ModelData()->AnimationData();
|
||||||
@@ -155,5 +161,6 @@ void CScriptActorKeyframe::UpdateEntity(TUniqueId uid, CStateManager& mgr)
|
|||||||
CBCScriptedCmd(x34_animationId, x44_24_looping, x44_27_timedLoop, x38_initialLifetime));
|
CBCScriptedCmd(x34_animationId, x44_24_looping, x44_27_timedLoop, x38_initialLifetime));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
2
amuse
2
amuse
Submodule amuse updated: 1fefba66e7...e3c936648b
2
hecl
2
hecl
Submodule hecl updated: c26f24fb90...c8f9d4cc05
Reference in New Issue
Block a user