Files
fs2open.github.com/code
wookieejedi 150b0c2d15 Fix targest nearest attacking ship in multiplayer (#7326)
* Fix `targest nearest attacking ship` in multiplayer

Pressing 'Target Nearest Attacker` in multiplayer does not work when a ship has spontaneously targeted another ship. This is because within, `multi_oo_pack_data` `goals[0].target_name` only covers explicitly ordered goal targets and is empty for spontaneous IFF-based engagements, which means `target_signature` does not return the proper value. This PR adds an extra check for that to pefer the live target_objnum so clients know who is actually being attacked.

Tested and works as expected.

* comment cleanup

* comment cleanup
2026-03-30 10:20:32 -04:00
..
2025-08-18 12:01:00 -04:00
2025-08-18 11:59:22 -04:00
2026-03-29 08:04:03 -04:00
2026-02-19 00:29:53 -05:00
2026-03-29 08:04:03 -04:00
2026-03-02 23:00:29 -05:00
2026-02-19 00:29:53 -05:00
2025-07-10 15:10:19 -04:00
2025-07-21 15:32:25 -05:00
2026-03-25 17:42:45 -04:00
2025-05-17 00:27:00 -04:00
2025-08-18 21:48:51 -04:00