Fix fighter/bomber AI remaining stationary if engines repaired#7609
Open
wookieejedi wants to merge 4 commits into
Open
Fix fighter/bomber AI remaining stationary if engines repaired#7609wookieejedi wants to merge 4 commits into
wookieejedi wants to merge 4 commits into
Conversation
JohnAFernandez
approved these changes
Jul 15, 2026
JohnAFernandez
left a comment
Contributor
There was a problem hiding this comment.
The change looks fine, but I'm not convinced it belongs on the point release candidate. Maybe discuss on internal?
Member
Author
|
I'm good with whatever folks decide |
Goober5000
reviewed
Jul 16, 2026
| aip->submode_start_time = Missiontime; | ||
| } | ||
| } | ||
| } |
Contributor
There was a problem hiding this comment.
A bit of whitespace was added here
Member
Author
There was a problem hiding this comment.
Ah good catch, just pushed a fix
Goober5000
approved these changes
Jul 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
There is an FSO behavior that results in fighters/bombers just slowing down to 0 and remaining still--if their engines get temporarily disabled and then repaired and their current target dies/departs. This is b/c when the engines are blown they get set to AM_ATTACK_FOREVER mode, but if the target leaves they just end up remaining still. This becomes very obvious in mods where there is automatic subsystem repair.
Thus, add a flag to enable the AI to stop that forever mode.