Vehicle seat fix

This commit is contained in:
Sardelka
2022-08-15 20:04:08 +08:00
parent d4ffb0c929
commit 3289c03fd2
3 changed files with 15 additions and 14 deletions

View File

@ -692,7 +692,7 @@ namespace RageCoop.Client
}
if (!(localRagdoll || MainPed.IsDead))
{
if (!IsAiming)
if (!IsAiming && !MainPed.IsGettingUp)
{
MainPed.Heading=Heading;
}
@ -741,7 +741,7 @@ namespace RageCoop.Client
#endregion
private void DisplayInVehicle()
{
if (CurrentVehicle==null || CurrentVehicle.MainVehicle==null) { return; }
if (CurrentVehicle==null || CurrentVehicle.MainVehicle==null) { Main.Logger.Error("Veh not found"); return; }
switch (Speed)
{
case 4: