Flight: a member that cannot see the engaged track steers on its bearing

The member kept Target to its own sensors but fell back to patrol while a
flightmate fought; it now follows the engaged track as it followed the
hailed one (ruling shared-track-bearing-only: a bearing, never targeting data).

Builds: not yet verified at this commit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-08 18:13:48 +02:00
commit f91f658ad2
2 changed files with 19 additions and 1 deletions

View file

@ -150,8 +150,10 @@ public class Flight
return;
}
// No engaged track in this member's own sensors: it steers on the flight's picture, a bearing and never targeting
// data (ruling shared-track-bearing-only). That is the hailed and the complied, and an engaged track only a flightmate sees.
Aim(ship, null);
var held = picture.Where(e => _tracks[e].Phase == Phase.Hailing || _tracks[e].Phase == Phase.Complied).ToList();
var held = picture.Where(e => _tracks[e].Phase != Phase.None).ToList();
if (held.Count > 0)
{
var anchor = member.Agent.Task is FollowTask follow && held.Contains(follow.Anchor)