From 931d1992b6fa7453e4ab06c8d89e34a6dbd643fb Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sat, 9 Sep 2023 09:10:08 -0400 Subject: [PATCH] Patrol points are reset each patrol. --- src/engine/objects/Mob.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index ac40bf61..54ef4633 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -1691,15 +1691,6 @@ public class Mob extends AbstractIntelligenceAgent { if (this.agentType.equals(AIAgentType.MOBILE)) NPCManager.AssignPatrolPoints(this); - if (this.agentType.equals(Enum.AIAgentType.GUARDCAPTAIN)) { - - Building barracks = this.building; - - if (barracks != null && barracks.patrolPoints != null && !barracks.getPatrolPoints().isEmpty()) { - this.patrolPoints = barracks.patrolPoints; - } - } - this.deathTime = 0; }