Files
moonwell-client-core/docs
Sam Sung 194b7ee766 A path ends with the unit turned to the packet's final facing (#2745)
A path ends with the unit turned to the packet's final facing, as 1.12.1 leaves it.

- A monster move that installs a path stores its final facing on the spline (`0x618840`-`0x6188a0`). Only a move with no path turns the unit on arrival.
- At the path's end, `0x61a882` writes the facing in this order:
  - Angle, as sent;
  - Target, the heading to where that unit stands (`0x61a8c1`), from the deck-local end on a transport;
  - Spot, through `0x47f220`.
- The turn runs through the facing smoother (`0x600cd0`), never a snap. The display facing resets only at create and reactivate.
- `heading_between` ports `0x47f220`'s fixed headings for a point under the unit.

Each change has a test that fails without it.

First diagnosed and drafted by @kalistoking in #2695.

Co-authored-by: kalistoking <148718830+kalistoking@users.noreply.github.com>

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 08:07:42 +07:00
..