FAForever / FAForever/fa

[Bug]: Naval Area marker on White Fire created on land

Open
#6,359 1 comment 0 reactions 0 assignees View on GitHub
type: bug
Dominant language
Lua
Stars
264
Forks
260
Avg merge
3d 2h
Merged PRs (30d)
21

Description

### Describe the Bug

On white fire there is a particular naval area marker that is being created on land on the north side. The south side is correct where the marker is in the water.

I'm unsure what specific circumstances are occurring that cause this. But it means that the AI will build on it but not technically be a naval position.

The impact of this is minimal but if you are setting a layer field on a base manager to decrease the loops required to find base types it will always be considered land as the marker position is not under water.

Note : I couldn't validate via the map editor that if these are purely something that is coming from the nav utilities or if its the map itself.

More context

This is done via the GenerateForExpansion function which lives in /lua/sim/MarkerUtilities/NavalAreas.lua
GetPositionsInRadius is used to generate the markers.

### Reproduce the bug

Create a game on the 10km white fire map (scmp_033) and enable the map utilities UI.

Then enable Naval Area markers and look below the spawn on the north side.

Attached screenshot for reference.

### Screenshots

![WhiteFireNavalMarker](https://github.com/user-attachments/assets/92dba22b-d1d3-4407-990f-36aaddbd8f75)

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.