diff --git a/src/decor.cxx b/src/decor.cxx index cd8b506..7049429 100644 --- a/src/decor.cxx +++ b/src/decor.cxx @@ -795,45 +795,45 @@ void BuildMoveTransport (Sint32 icon, POINT & pos) pos.y -= 96; // clang-format off - static Sint32 offset_bateau[16 * 2] = - { - -4, -3, // e - -2, -3, - -1, -3, // se - +1, -3, - +2, -3, // s - +5, -2, - +6, -2, // so - +5, -1, - +1, 0, // o - -1, 0, - -2, 0, // no - -2, 0, - -3, 0, // n - -4, -1, - -5, -1, // ne - -4, -2, - }; + static Sint32 offset_bateau[16 * 2] = + { + -4, -3, // e + -2, -3, + -1, -3, // se + +1, -3, + +2, -3, // s + +5, -2, + +6, -2, // so + +5, -1, + +1, 0, // o + -1, 0, + -2, 0, // no + -2, 0, + -3, 0, // n + -4, -1, + -5, -1, // ne + -4, -2, + }; - static Sint32 offset_jeep[16 * 2] = - { - -2, -6, // e - -1, -6, - -1, -6, // se - -1, -6, - +3, -6, // s - +1, -6, - +4, -6, // so - +4, -5, - +4, -5, // o - +2, -5, - +1, -4, // no - +1, -4, - -3, -3, // n - -4, -4, - -3, -4, // ne - -4, -4, - }; + static Sint32 offset_jeep[16 * 2] = + { + -2, -6, // e + -1, -6, + -1, -6, // se + -1, -6, + +3, -6, // s + +1, -6, + +4, -6, // so + +4, -5, + +4, -5, // o + +2, -5, + +1, -4, // no + +1, -4, + -3, -3, // n + -4, -4, + -3, -4, // ne + -4, -4, + }; // clang-format on if (icon >= 0 && icon <= 47)