2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-04 19:55:51 +00:00

CBodyState: Resolve sign conversion warnings in GetLocoAnimation()

This commit is contained in:
Lioncash 2020-04-07 12:56:29 -04:00
parent ce710a94f6
commit db9a52fae3

View File

@ -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: