Skip to content

fix crash when a ship with no primary banks is ordered to disable/disarm - #7660

Open
Goober5000 wants to merge 1 commit into
scp-fs2open:masterfrom
Goober5000:fix/gtbc_disable
Open

fix crash when a ship with no primary banks is ordered to disable/disarm#7660
Goober5000 wants to merge 1 commit into
scp-fs2open:masterfrom
Goober5000:fix/gtbc_disable

Conversation

@Goober5000

Copy link
Copy Markdown
Contributor

Gunships and other custom ship classes may run through the primary weapon code despite having no primary banks. Add a few guards to prevent this from causing crashes.

Fixes a crash reported in Causality: The Great War.

Gunships and other custom ship classes may run through the primary weapon code despite having no primary banks.  Add a few guards to prevent this from causing crashes.

Fixes a crash reported in Causality: The Great War.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Goober5000 Goober5000 added fix A fix for bugs, not-a-bugs, and/or regressions. gameplay A feature or issue that can significantly impact gameplay Requested by Active Mod A feature request that has been requested by a mod that is actively in development. labels Jul 27, 2026
@Goober5000 Goober5000 modified the milestones: Release 26.2, 26.0.1 Jul 28, 2026
@wookieejedi wookieejedi added the Point Release Candidate An already merged bugfix that may be merged into a previous stable version label Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix A fix for bugs, not-a-bugs, and/or regressions. gameplay A feature or issue that can significantly impact gameplay Point Release Candidate An already merged bugfix that may be merged into a previous stable version Requested by Active Mod A feature request that has been requested by a mod that is actively in development.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants