Files
fs2open.github.com/code
Goober5000andClaude 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-04-30 00:35:19 -04:00
2026-07-11 21:02:36 -04:00
2026-05-14 08:07:11 -04:00
2018-07-15 19:37:24 +02:00
2025-08-18 11:59:22 -04:00
2026-05-12 11:31:20 -04:00
2026-05-14 08:07:11 -04:00
2026-07-04 16:08:41 +02:00
2026-05-28 14:43:48 +09:00
2026-05-14 08:07:11 -04:00
2026-04-30 00:35:19 -04:00
2026-05-12 11:31:20 -04:00
2025-08-18 21:48:51 -04:00
2016-07-22 12:07:19 +02:00