Save blip and nametag settings

This commit is contained in:
sardelka9515
2022-11-20 16:29:11 +08:00
parent 979be4cfa8
commit 598790dedd
2 changed files with 14 additions and 5 deletions

View File

@ -161,7 +161,8 @@ namespace RageCoop.Client
_predictedPosition = Predict(Position);
var current = MainVehicle.ReadPosition();
var distSquared = current.DistanceToSquared(_predictedPosition);
var cali = _predictedPosition - current + 0.5f * (Velocity - MainVehicle.Velocity);
var cali = _predictedPosition - current;
if (!IsTrain) { cali += 0.5f * (Velocity - MainVehicle.Velocity); }
if (distSquared > 10 * 10)
{
MainVehicle.Position = _predictedPosition;