mirror of https://github.com/AxioDL/metaforce.git
CBodyState: Always initialize x3c8_primeTime
Provides a deterministic consistent state upon construction
This commit is contained in:
parent
45dca4a25b
commit
ce710a94f6
|
@ -362,7 +362,7 @@ class CBSBiPedLocomotion : public CBSLocomotion {
|
||||||
protected:
|
protected:
|
||||||
rstl::reserved_vector<rstl::reserved_vector<std::pair<s32, float>, 8>, 14> x8_anims;
|
rstl::reserved_vector<rstl::reserved_vector<std::pair<s32, float>, 8>, 14> x8_anims;
|
||||||
pas::ELocomotionAnim x3c4_anim = pas::ELocomotionAnim::Invalid;
|
pas::ELocomotionAnim x3c4_anim = pas::ELocomotionAnim::Invalid;
|
||||||
float x3c8_primeTime;
|
float x3c8_primeTime = 0.0f;
|
||||||
float UpdateRun(float vel, CBodyController& bc, pas::ELocomotionAnim anim);
|
float UpdateRun(float vel, CBodyController& bc, pas::ELocomotionAnim anim);
|
||||||
float UpdateWalk(float vel, CBodyController& bc, pas::ELocomotionAnim anim);
|
float UpdateWalk(float vel, CBodyController& bc, pas::ELocomotionAnim anim);
|
||||||
float UpdateStrafe(float vel, CBodyController& bc, pas::ELocomotionAnim anim);
|
float UpdateStrafe(float vel, CBodyController& bc, pas::ELocomotionAnim anim);
|
||||||
|
|
Loading…
Reference in New Issue