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-06-11 02:00:23 +02:00
2026-03-22 02:59:47 -04:00
2025-06-05 17:53:13 -04:00
2025-11-12 02:17:25 -05:00
2025-04-06 02:11:52 -04:00
2026-03-30 15:06:47 +09:00
2026-03-22 15:00:25 -04:00
2025-10-23 12:41:44 -04:00
2023-11-06 01:48:29 -05:00
2025-07-12 22:19:23 +02:00
2026-03-05 15:15:56 -05:00
2026-03-22 15:00:25 -04:00
2025-08-18 12:01:00 -04:00
2025-09-08 21:49:48 -04:00
2025-10-07 07:42:44 -04:00
2025-08-18 11:59:22 -04:00
2026-02-10 12:17:39 -05:00
2026-02-25 12:59:30 +09:00
2024-12-22 22:31:58 +01:00
2025-10-23 12:41:44 -04:00
2025-03-01 21:33:31 -05:00
2024-02-27 13:09:34 -05:00
2026-03-22 15:00:25 -04:00
2026-03-22 15:00:25 -04:00
2026-03-30 15:06:47 +09:00
2025-08-18 11:56:26 -04:00
2026-03-04 12:04:09 +09:00
2026-03-22 15:00:25 -04:00
2025-08-18 11:59:22 -04:00
2026-03-29 08:04:03 -04:00
2025-06-05 17:53:13 -04:00
2026-02-19 00:29:53 -05:00
2026-03-29 08:04:03 -04:00
2025-06-05 17:53:13 -04:00
2026-03-22 15:00:25 -04:00
2026-01-05 23:13:35 -05:00
2026-03-20 15:02:03 -04:00
2026-03-05 07:48:13 -05:00
2026-03-30 09:16:20 -04:00
2026-03-22 02:59:47 -04:00
2026-03-20 15:00:16 -04:00
2026-03-22 15:00:25 -04:00
2026-03-01 23:11:02 -05:00
2026-03-22 15:00:25 -04:00
2026-03-30 10:20:32 -04:00
2026-03-02 23:00:29 -05:00
2025-02-22 19:29:11 -05:00
2025-10-24 00:45:23 +02:00
2025-10-23 12:41:44 -04:00
2026-03-22 02:59:47 -04:00
2026-03-08 20:15:02 -04:00
2025-06-05 17:53:13 -04:00
2025-08-18 11:56:39 -04:00
2026-03-13 08:16:28 -04:00
2026-03-22 15:00:25 -04:00
2025-06-05 17:53:13 -04:00
2025-10-23 12:41:44 -04:00
2026-02-19 00:29:53 -05:00
2025-07-12 19:02:40 +00:00
2025-07-10 15:10:19 -04:00
2025-07-21 15:32:25 -05:00
2026-03-30 09:16:20 -04:00
2026-03-25 17:42:45 -04:00
2026-03-22 15:00:25 -04:00
2025-10-01 21:47:01 -04:00
2026-03-22 15:00:25 -04:00
2026-03-22 15:00:25 -04:00
2025-06-05 17:53:13 -04:00
2025-05-17 00:27:00 -04:00
2025-08-18 21:48:51 -04:00
2026-02-11 00:55:52 -05:00
2026-03-22 15:00:25 -04:00
2025-08-18 11:59:22 -04:00
2025-08-22 07:18:48 -04:00
2026-03-06 22:00:32 -05:00