REDIVIVUS

Proposals / #1627

Name the Mac waypoint helper's direction-update flag consistently with Windows

checked · by eejitgames · submitted 2026-11-08

Mac00183682 stores its second argument as generic nParam. Native001837a5..001837b0 tests that DWORD only after bForceDirection is false and permits PATH_SetDirection when the predicted next step reaches the waypoint subtile. Windows0064fe40 has the same condition and already calls the argument bSetDirOnWaypoint. Rename the Mac Stack8 parameter to that existing counterpart name. Complete helper and direction-setter bodies on both builds confirm the meaning. All four Mac call sites supply the flag as1. Preserve all types, ABI, function names and behavior.

Changes 1, applied together

  1. Rename variable mac 0x00183682 Stack[0x8]

    namenParam→bSetDirOnWaypoint