This commit is contained in:
in0finite 2021-09-13 02:30:30 +02:00
parent 41aaf1bf44
commit b6a447c26f

View file

@ -352,7 +352,7 @@ namespace SanAndreasUnity.Behaviours
// handle vehicle logic - follow ped in or out of vehicle
if (this.MyPed.IsInVehicle || this.TargetPed.IsInVehicle)
this.UpdateFollowingMovementPart();
this.UpdateFollowing_MovementPart();
if (this.Action != PedAIAction.Following)
return;
@ -368,11 +368,11 @@ namespace SanAndreasUnity.Behaviours
{
// no peds to attack
// follow our leader
this.UpdateFollowingMovementPart();
this.UpdateFollowing_MovementPart();
}
}
void UpdateFollowingMovementPart()
void UpdateFollowing_MovementPart()
{
// follow target ped