Files
WT-Offline/native
N0VAN0M4LY ca9843c304 fix(native): drop control-loss HUD hints of other units
The stock control-loss hints are pushed as HUD_MSG_DAMAGE with the text
chosen by a HUD text index, not by the damaged handler, so the barrel and
breech filter in local_mp_damage_notifications never saw them. The hint
refresh describes the unit in the hero manager's current-hero cell, one
process-wide slot that can be left on another unit on a LocalMP host.

Hook the HUD_MSG_DAMAGE delivery (2.61.0.37 0x19b1030, 2.61.0.43
0x19b6ba0) and drop hints with text indices 261..283 whose described unit
is not the unit the local MPlayer controls. Suppressed hints are logged up
to 12 times so a filter that never fires is visible in wto_ws.log.

Checked: native DLL build; check-patches on 2.61.0.37; temporary copy
builds of 2.61.0.37 and 2.61.0.43 report the executable, GUI and native
patches all ready (11 native modules). In-game acceptance is pending.
2026-12-01 19:48:43 +08:00
..