Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[RFE] Do not apply FOV darkening/highlighting for offboard artillery #5548

@repligator

Description

@repligator

Environment

2024-05-31T01:13:33.430985946
Linux
17.0.10

Description

If the player controls offboard artillery, the megamek log will be filled with the following error
ERROR [megamek.client.ui.swing.boardview.FovHighlightingAndDarkening] {AWT-EventQueue-0} megamek.client.ui.swing.boardview.FovHighlightingAndDarkening.getLosEffects(FovHighlightingAndDarkening.java:320) - Cannot process line of sight effects with a null source hex.
Although the average end user probably will never read the log, and therefor never actually notice, it would make troubleshooting easier if there wasn't log spam for a feature that in this case isn't really applicable (somebody correct me if I'm wrong, but I don't think offboard artillery cares about LOS/FOV etc.).

Files

Example log
megamek(2).log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions