fix(hud): show damage notices for the controlled vehicle

Keep the affected unit on the native barrel and breech notification paths. Filter only the local-host notices, using the stock current-control lookup.
This commit is contained in:
N0VAN0M4LY committed 2026-12-01 13:50:05 +08:00
1 parent 70c4ee4880
commit b4af034756
9 files changed
+219

No files matched your search

+4
View File
@@ -74,6 +74,10 @@ typedef struct LmpValues {
/* local_mp_support */
uint8_t *set_controlled_unit;
size_t mp_support_unit_eid, mp_support_unit_ptr;
/* local_mp_damage_notifications */
uint8_t *barrel_damage, *breech_fire_update, *barrel_notice_deliver, *breech_notice_deliver, *mplayer_controlled_unit;
size_t barrel_unit_ref, breech_unit, barrel_notice_id, breech_notice_id;
} LmpValues;
extern LmpValues g_lmp;