mirror of https://github.com/AxioDL/metaforce.git
CBodyState: Resolve sign conversion warnings in GetLocoAnimation()
This commit is contained in:
parent
ce710a94f6
commit
db9a52fae3
|
@ -367,7 +367,7 @@ protected:
|
|||
float UpdateWalk(float vel, CBodyController& bc, pas::ELocomotionAnim anim);
|
||||
float UpdateStrafe(float vel, CBodyController& bc, pas::ELocomotionAnim anim);
|
||||
const std::pair<s32, float>& GetLocoAnimation(pas::ELocomotionType type, pas::ELocomotionAnim anim) const {
|
||||
return x8_anims[int(type)][int(anim)];
|
||||
return x8_anims[size_t(type)][size_t(anim)];
|
||||
}
|
||||
|
||||
public:
|
||||
|
|
Loading…
Reference in New Issue