mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-10 06:34:16 +00:00
fix warning
This commit is contained in:
parent
b18b32cbfa
commit
160cd83c2e
1 changed files with 0 additions and 2 deletions
|
@ -173,7 +173,6 @@ namespace SanAndreasUnity.Behaviours.Peds.AI
|
||||||
|
|
||||||
Vector3 targetPos = this.LeaderPed.transform.position;
|
Vector3 targetPos = this.LeaderPed.transform.position;
|
||||||
float currentStoppingDistance = 3f;
|
float currentStoppingDistance = 3f;
|
||||||
bool ignoreCalculatedDestination = false;
|
|
||||||
|
|
||||||
if (this.LeaderPed.IsInVehicleSeat && !this.MyPed.IsInVehicle)
|
if (this.LeaderPed.IsInVehicleSeat && !this.MyPed.IsInVehicle)
|
||||||
{
|
{
|
||||||
|
@ -202,7 +201,6 @@ namespace SanAndreasUnity.Behaviours.Peds.AI
|
||||||
// move toward the seat
|
// move toward the seat
|
||||||
targetPos = closestfreeSeat.tr.position;
|
targetPos = closestfreeSeat.tr.position;
|
||||||
currentStoppingDistance = 0.01f;
|
currentStoppingDistance = 0.01f;
|
||||||
ignoreCalculatedDestination = true;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue