From 85e57aef785ce4e1a4338a7ea1e3ab124fe562d5 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Fri, 9 Oct 2026 22:32:08 +0200 Subject: [PATCH] BallisticFlightTests: using System for the Subscribe lambda; DrawAhead comment names no frame clock Builds headless; Unity still on the old Projectile at this commit. Co-Authored-By: Claude Opus 5.5 --- Assets/Scripts/ServerShared/DrawAhead.cs | 2 +- tests/Aetheria.Shared.Tests/BallisticFlightTests.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Assets/Scripts/ServerShared/DrawAhead.cs b/Assets/Scripts/ServerShared/DrawAhead.cs index 77365cebe..f594b33fe 100644 --- a/Assets/Scripts/ServerShared/DrawAhead.cs +++ b/Assets/Scripts/ServerShared/DrawAhead.cs @@ -40,7 +40,7 @@ public static class DrawAhead } // A ballistic round at a sim time (the clock's Zone.Time + Lead): on FireControl's line for what the sim has published - // of its outcome, with the barrel's offset from that line decaying to nothing over blendTime sim seconds from FireTime. + // of its outcome, with the barrel's offset from that line decaying to nothing over blendTime sim seconds from the moment of firing. public static float3 Round(in PendingShot shot, ShotResult? known, float3 barrel, float blendTime, float time) => Lifted(shot, FireControl.RoundAt(shot, known, time), barrel, blendTime, time); diff --git a/tests/Aetheria.Shared.Tests/BallisticFlightTests.cs b/tests/Aetheria.Shared.Tests/BallisticFlightTests.cs index 0781d2c06..e1957e2db 100644 --- a/tests/Aetheria.Shared.Tests/BallisticFlightTests.cs +++ b/tests/Aetheria.Shared.Tests/BallisticFlightTests.cs @@ -2,6 +2,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ +using System; using System.Linq; using Xunit; using static CultMath.math;