-
Notifications
You must be signed in to change notification settings - Fork 327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #6867: Excluded Infantry Attack From Edit Unit Damage Dialog #6868
base: master
Are you sure you want to change the base?
Fix #6867: Excluded Infantry Attack From Edit Unit Damage Dialog #6868
Conversation
- Prevented `InfantryAttack` equipment types from being processed in the equipment loop within `UnitEditorDialog`. - Refactored variable names for better code clarity (e.g., `m` to `mounted`).
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6868 +/- ##
============================================
- Coverage 30.06% 30.05% -0.01%
+ Complexity 15604 15588 -16
============================================
Files 2875 2875
Lines 282752 282753 +1
Branches 49309 49304 -5
============================================
- Hits 85016 84989 -27
- Misses 192173 192214 +41
+ Partials 5563 5550 -13 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
/* system crits */ | ||
CheckCritPanel engineCrit; | ||
/* system crits */ CheckCritPanel engineCrit; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a nitpick, replace the comment with a //
and bring the variable down a level.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might need to look at why EC made this change, as it'll just be undone the moment I save
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, ignore me, I missed the first part of your comment.
InfantryAttack
equipment types from being processed in the equipment loop withinUnitEditorDialog
.m
tomounted
).Fix #6867
Dev Notes
I double-checked that infantry attacks, such as swarm and its' ilk, are the only attacks affected by this change.