From b3b7a78cec69493a6cbd310514c7b2a299a84402 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 28 May 2023 13:28:22 -0500 Subject: [PATCH] patrol point index --- src/engine/objects/Mob.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index 3a365900..0e0450b3 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -1980,8 +1980,7 @@ public class Mob extends AbstractIntelligenceAgent { Vector3fImmutable newPatrolPoint = Vector3fImmutable.getRandomPointInCircle(this.getBindLoc(), patrolRadius); this.patrolPoints.add(newPatrolPoint); } - MovementManager.translocate(this,this.patrolPoints.get(1), null); - this.lastPatrolPointIndex = 1; + MovementManager.translocate(this,this.patrolPoints.get(0), null); } if (this.BehaviourType == null) this.BehaviourType = this.getMobBase().fsm;