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
1 changed files with 1 additions and 1 deletions

View File

@ -367,7 +367,7 @@ protected:
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);
const std::pair<s32, float>& GetLocoAnimation(pas::ELocomotionType type, pas::ELocomotionAnim anim) const { 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: public: