diff --git a/Source/scrollrt.cpp b/Source/scrollrt.cpp index 3118b24b5..124bebeea 100644 --- a/Source/scrollrt.cpp +++ b/Source/scrollrt.cpp @@ -251,10 +251,10 @@ const char *const PlayerModeNames[] = { Displacement GetOffsetForWalking(const AnimationInfo &animationInfo, const Direction dir, bool cameraMode /*= false*/) { // clang-format off - // DIR_S, DIR_SW, DIR_W, DIR_NW, DIR_N, DIR_NE, DIR_E, DIR_SE, + // DIR_S, DIR_SW, DIR_W, DIR_NW, DIR_N, DIR_NE, DIR_E, DIR_SE, constexpr Displacement StartOffset[8] = { { 0, -32 }, { 32, -16 }, { 32, -16 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { -32, -16 }, { -32, -16 } }; constexpr Displacement MovingOffset[8] = { { 0, 32 }, { -32, 16 }, { -64, 0 }, { -32, -16 }, { 0, -32 }, { 32, -16 }, { 64, 0 }, { 32, 16 } }; - constexpr bool IsDiagionalWalk[8] = { false, true, false, true, false, true, false, true }; + constexpr bool IsDiagionalWalk[8] = { false, true, false, true, false, true, false, true }; // clang-format on float fAnimationProgress = animationInfo.GetAnimationProgress();