Fix all 7 Cut 5d Soul findings: GL3 Sion perf >=57fps, PVS death gating, crater dedupe, hit-marker filter, loadout baseline, remote dust yaw/speed, distance-gated death trauma

This commit is contained in:
Meta Vens 2026-12-05 10:48:54 +01:00
commit fcb91edb0d
16 changed files with 574 additions and 143 deletions

View file

@ -220,7 +220,9 @@ public partial class Hud : CanvasLayer
float pulse = (WeaponVisualClass)hit.WeaponClass == WeaponVisualClass.Explosive ? 0.95f : 0.62f;
_damagePulse = MathF.Max(_damagePulse, pulse);
}
if (hit.IsContenderShooter && hit.ShooterId == localContenderId)
bool targetIsVehicle = hit.TargetKind == (byte)HitTargetKind.Contender
|| hit.TargetKind == (byte)HitTargetKind.Spectator;
if (targetIsVehicle && hit.IsContenderShooter && hit.ShooterId == localContenderId)
{
_crosshair?.TriggerHitMarker(hit.CoreDamage > 0.001f, hit.Killed);
}