mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-12 19:06:09 -10:00
1. Don't set the `can_use_for_bank` flag to FALSE if the bank is primary but the weapon is secondary, or vice versa 2. Make sure to only restrict the weapons by bank if the ship has per-bank restrictions In support of this, add `is_primary()` and `is_secondary()` helper functions to `weapon_info` and use them in logical places. Follow-up to #6434. Fixes a few subtle bugs from that PR.