Skip to content

Small fix for turret swarm stuff#6711

Merged
Goober5000 merged 2 commits into
scp-fs2open:masterfrom
Baezon:small-turret-swarm-fix
May 13, 2025
Merged

Small fix for turret swarm stuff#6711
Goober5000 merged 2 commits into
scp-fs2open:masterfrom
Baezon:small-turret-swarm-fix

Conversation

@Baezon

@Baezon Baezon commented May 8, 2025

Copy link
Copy Markdown
Member

Missed this in #6703. If there is no target (in the no_tracking_object case), don't make a pointer and try to get the signature. In terms of final behavior it's still fine because it only ever checks the signature if it actually has a >= 0 enemy_objnum

@Baezon Baezon added the cleanup A modification or rewrite of code to make it more understandable or easier to maintain. label May 8, 2025
@Goober5000 Goober5000 merged commit 1e8ea06 into scp-fs2open:master May 13, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleanup A modification or rewrite of code to make it more understandable or easier to maintain.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants