Skip to content
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

Use best hex for FoV highlighting for multi-hex units #5809

Merged
merged 2 commits into from
Jul 28, 2024

Conversation

SJuliez
Copy link
Member

@SJuliez SJuliez commented Jul 27, 2024

FoV highlighting was not considering secondary positions. Fixes #5785
This also adds a little test scenario with a grounded DS which is going to continue to work in the next version (unlike a savegame).

Copy link

codecov bot commented Jul 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 29.06%. Comparing base (f7b39ab) to head (8b06aec).
Report is 22 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #5809      +/-   ##
============================================
- Coverage     29.06%   29.06%   -0.01%     
- Complexity    13907    13913       +6     
============================================
  Files          2507     2507              
  Lines        266333   266339       +6     
  Branches      47605    47611       +6     
============================================
- Hits          77421    77403      -18     
- Misses       184987   185012      +25     
+ Partials       3925     3924       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@Sleet01 Sleet01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Sleet01 Sleet01 merged commit 63226af into MegaMek:master Jul 28, 2024
5 checks passed
@SJuliez SJuliez deleted the ds-fov branch August 1, 2024 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dropship Line of Sight Issue - Megamek 0.49.15.1
2 participants