mirror of https://github.com/AxioDL/metaforce.git
Fix CBSBiPedLocomotion
This commit is contained in:
parent
c350f0a812
commit
267f9fc63e
|
@ -1935,7 +1935,7 @@ CBSBiPedLocomotion::CBSBiPedLocomotion(CActor& actor) {
|
||||||
for (int i = 0; i < 14; ++i) {
|
for (int i = 0; i < 14; ++i) {
|
||||||
rstl::reserved_vector<std::pair<s32, float>, 8>& innerVec = x8_anims.emplace_back();
|
rstl::reserved_vector<std::pair<s32, float>, 8>& innerVec = x8_anims.emplace_back();
|
||||||
for (int j = 0; j < 8; ++j) {
|
for (int j = 0; j < 8; ++j) {
|
||||||
const CPASAnimParmData parms(pas::EAnimationState::WallHang, CPASAnimParm::FromEnum(j),
|
const CPASAnimParmData parms(pas::EAnimationState::Locomotion, CPASAnimParm::FromEnum(j),
|
||||||
CPASAnimParm::FromEnum(i));
|
CPASAnimParm::FromEnum(i));
|
||||||
const std::pair<float, s32> best = pasDatabase.FindBestAnimation(parms, -1);
|
const std::pair<float, s32> best = pasDatabase.FindBestAnimation(parms, -1);
|
||||||
float avgVel = 0.f;
|
float avgVel = 0.f;
|
||||||
|
|
Loading…
Reference in New Issue