From 7b43440faeb345413d389b88a04c223fd8da96c1 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 25 Jun 2023 19:32:49 -0500 Subject: [PATCH] mobs start the game at their first patrol point index --- src/engine/objects/Mob.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index 6d8f75f8..f44e95ce 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -1979,6 +1979,8 @@ public class Mob extends AbstractIntelligenceAgent { Vector3fImmutable newPatrolPoint = Vector3fImmutable.getRandomPointInCircle(this.getBindLoc(), patrolRadius); this.patrolPoints.add(newPatrolPoint); + if(i == 1) + MovementManager.translocate(this,newPatrolPoint,null); } } if (this.BehaviourType == null)