Restore damage model for aircraft

This commit is contained in:
sardelka9515 2022-08-22 11:36:52 +08:00
parent c034cd8aa9
commit 01433f0de6
3 changed files with 6 additions and 7 deletions

View File

@ -16,7 +16,7 @@ using System.Resources;
// Version informationr(
[assembly: AssemblyVersion("1.5.2.73")]
[assembly: AssemblyFileVersion("1.5.2.73")]
[assembly: AssemblyVersion("1.5.2.79")]
[assembly: AssemblyFileVersion("1.5.2.79")]
[assembly: NeutralResourcesLanguageAttribute( "en-US" )]

View File

@ -214,14 +214,13 @@ namespace RageCoop.Client
}
Function.Call(Hash.SET_VEHICLE_BRAKE_LIGHTS, MainVehicle.Handle, BrakeLightsOn);
MainVehicle.SetDamageModel(DamageModel);
}
MainVehicle.LockStatus=LockStatus;
if (LastFullSynced>=LastUpdated)
{
#region -- SYNC STATE --
if (Flags.HasVehFlag(VehicleDataFlags.Repaired))
{
MainVehicle.Repair();
@ -255,7 +254,7 @@ namespace RageCoop.Client
Function.Call(Hash.SET_VEHICLE_LIVERY, MainVehicle, Livery);
_lastLivery=Livery;
}
#endregion
MainVehicle.SetDamageModel(DamageModel);
}
LastUpdated=Main.Ticked;
}

View File

@ -15,7 +15,7 @@ using System.Resources;
[assembly: AssemblyCulture("")]
// Version information
[assembly: AssemblyVersion("1.5.2.79")]
[assembly: AssemblyFileVersion("1.5.2.79")]
[assembly: AssemblyVersion("1.5.2.80")]
[assembly: AssemblyFileVersion("1.5.2.80")]
[assembly: NeutralResourcesLanguageAttribute( "en-US" )]