forked from FAForever/fa
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bombers not keeping track of attack ground tries (FAForever#6277)
<!-- General useful tooling: - [ScreenToGif](https://www.screentogif.com/): Free, open source screen recorder that can export to MP4. If the changes are visual, these can help you tell us exactly what the changes imply! --> <!-- Feel free to remove unused parts of this template. --> ## Description of the proposed changes <!-- A clear and concise description (or visuals) of what the changes imply. --> <!-- If it closes an issue, make sure to link the issue by using "(Closes/Fixes/Resolves) #(Issue Number)" in your pull request. --> Stops bomb dropping weapons from resetting their target mid-bombing run, since that caused them to reset their `AttackGroundTries` counter, which meant they would never move on to the groundfire target. ## Testing done on the proposed changes <!-- List all relevant testing that you've done to confirm the changes work. --> Give a bomber two groundfire orders, it should switch to the next order after attacking 3 times. Note: It won't drop a bomb on the third pass, but this is due to a separate bug and does not impact what is being fixed here. ## Additional context <!-- Add any other context about the pull request here. --> Cherry pick from FAForever#6166. ## Checklist - [x] Changes are annotated, including comments where useful - [x] Changes are documented in the changelog for the next game version
- Loading branch information
Showing
4 changed files
with
11 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- (#6277) Fix bombers never switching ground attack targets. They now switch to the next ground attack target after 3 tries (the default number). |
This file contains 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
This file contains 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
This file contains 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