Goober5000 and Claude Fable 5
009529b235
guard against empty weapon banks in external model render paths
...
ship_render_weapon_models(), HudGaugeHardpoints::render(), and
ship_stop_fire_primary_bank() indexed Weapon_info[] with the bank's
weapon index without checking for an empty bank (-1). Banks within
num_*_banks are normally populated, but other code that iterates banks
treats them as possibly empty and guards accordingly (e.g.
ship_do_cargo_hidden, ship_page_in), so these paths now do too. In
the hardpoints gauge an empty primary bank still draws its firing
point circles.
Co-Authored-By: Claude Fable 5 <[email protected] >
2026-07-13 13:19:23 -04:00
..
2026-07-09 11:20:25 +09:00
2026-07-13 13:19:23 -04:00
2026-04-30 00:35:19 -04:00
2026-06-12 22:39:50 -04:00
2025-04-06 02:11:52 -04:00
2026-07-09 11:20:25 +09:00
2026-07-11 21:02:36 -04:00
2026-07-09 11:20:25 +09:00
2017-02-16 10:24:51 +01:00
2017-02-15 16:12:59 +01:00
2026-05-07 14:40:38 +09:00
2026-05-14 08:07:11 -04:00
2026-03-05 15:15:56 -05:00
2026-07-09 11:20:25 +09:00
2026-07-09 11:20:25 +09:00
2026-07-05 18:45:28 +02:00
2026-07-09 11:20:25 +09:00
2026-05-07 14:40:38 +09:00
2026-07-09 11:20:25 +09:00
2026-07-11 02:46:18 +02:00
2018-07-15 19:37:24 +02:00
2024-12-22 22:31:58 +01:00
2020-08-11 09:38:39 +02:00
2016-08-13 21:43:23 +02:00
2026-07-09 11:20:25 +09:00
2026-07-09 11:20:25 +09:00
2024-02-27 13:09:34 -05:00
2026-05-30 23:45:22 +02:00
2026-07-11 20:28:45 -04:00
2026-07-09 11:20:25 +09:00
2025-08-18 11:56:26 -04:00
2026-07-13 13:19:23 -04:00
2026-03-22 15:00:25 -04:00
2025-08-18 11:59:22 -04:00
2026-07-09 11:20:25 +09:00
2025-06-05 17:53:13 -04:00
2026-07-06 03:11:12 -04:00
2026-05-26 12:21:43 +02:00
2026-07-09 11:20:25 +09:00
2026-05-12 11:31:20 -04:00
2026-03-22 15:00:25 -04:00
2026-05-14 08:07:11 -04:00
2026-07-09 11:20:25 +09:00
2026-07-09 11:20:25 +09:00
2026-07-09 11:20:25 +09:00
2026-07-12 20:15:54 -04:00
2026-07-08 00:14:46 -04:00
2026-07-04 16:08:41 +02:00
2026-07-13 13:19:23 -04:00
2026-05-28 14:43:48 +09:00
2026-07-09 11:20:25 +09:00
2026-07-09 11:20:25 +09:00
2025-02-22 19:29:11 -05:00
2026-05-14 08:07:11 -04:00
2026-05-25 01:30:42 +02:00
2026-07-09 11:20:25 +09:00
2026-07-09 11:20:25 +09:00
2026-04-30 00:35:19 -04:00
2025-08-18 11:56:39 -04:00
2026-07-09 11:20:25 +09:00
2026-05-12 11:31:20 -04:00
2025-06-05 17:53:13 -04:00
2026-07-09 11:20:25 +09:00
2026-07-09 11:20:25 +09:00
2026-06-05 14:06:00 +09:00
2026-06-18 10:34:16 +09:00
2026-07-09 11:20:25 +09:00
2026-07-10 23:53:17 -04:00
2026-07-13 13:19:23 -04:00
2026-07-09 11:20:25 +09:00
2026-05-07 14:40:38 +09:00
2026-05-07 14:40:38 +09:00
2026-05-07 14:40:38 +09:00
2025-06-05 17:53:13 -04:00
2026-07-09 11:20:25 +09:00
2025-08-18 21:48:51 -04:00
2026-07-09 11:20:25 +09:00
2026-07-13 13:19:22 -04:00
2025-08-18 11:59:22 -04:00
2025-08-22 07:18:48 -04:00
2020-08-29 11:26:16 +02:00
2020-10-14 22:21:45 +02:00
2026-07-06 13:33:49 -04:00
2016-07-22 12:07:19 +02:00