From 1ce54df4c098504839b2f0f9568d1fcd2833cbcc Mon Sep 17 00:00:00 2001 From: N0VAN0M4LY <224130499+N0VAN0M4LY@users.noreply.github.com> Date: Sat, 28 Nov 2026 13:03:29 +0800 Subject: [PATCH] Describe what the LocalMP loadout module does in its header The header of local_mp_loadout.c still named per-unit economic multipliers that the economy rework removed from the module. It now says what the module does: on a host the client has no receiver for its own vehicle change request, so the send hook builds the ChangeUnitReflection and calls Unit::changeAircraft. Comment only. Checked: native build, check-offsets. --- native/wto-net/src/local_mp_loadout.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/native/wto-net/src/local_mp_loadout.c b/native/wto-net/src/local_mp_loadout.c index 130bd34..0662ceb 100644 --- a/native/wto-net/src/local_mp_loadout.c +++ b/native/wto-net/src/local_mp_loadout.c @@ -1,8 +1,10 @@ /* * LocalMP vehicle loadout, modification map, decals, 3D attachables, and crew-skill bridge. * - * Stores per-unit economic multipliers in `LocalMpUnitRateEntry[32]` without touching - * `SessionStatsNet` during respawn-screen previews (`requestChangeUnitSilent`). + * The 2.61.0.37 client has no receiver for its own vehicle change request (0xb01d, + * SemChangeAircraftRequest) on a host; hook_sem_change_aircraft_send builds the + * ChangeUnitReflection from the request (weapon, modifications, bullets, skin, decals, + * attachables, crew skills, spawn base) and calls Unit::changeAircraft itself. */ #include "hooks.h" #include "hook_config.h"