mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-22 03:53:04 +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;
|
||||
float currentStoppingDistance = 3f;
|
||||
bool ignoreCalculatedDestination = false;
|
||||
|
||||
if (this.LeaderPed.IsInVehicleSeat && !this.MyPed.IsInVehicle)
|
||||
{
|
||||
|
@ -202,7 +201,6 @@ namespace SanAndreasUnity.Behaviours.Peds.AI
|
|||
// move toward the seat
|
||||
targetPos = closestfreeSeat.tr.position;
|
||||
currentStoppingDistance = 0.01f;
|
||||
ignoreCalculatedDestination = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue