Browse Source

mob ai work

lakebane-mobai2
FatBoy-DOTC 1 week ago
parent
commit
9d46da8d07
  1. 2
      src/engine/objects/Mob.java

2
src/engine/objects/Mob.java

@ -2160,7 +2160,7 @@ public class Mob extends AbstractIntelligenceAgent {
this.patrolPoints.add(newPatrolPoint); this.patrolPoints.add(newPatrolPoint);
if (i == 1) { if (i == 1) {
MovementManager.translocate(this, newPatrolPoint, null); this.setLoc(newPatrolPoint);
WorldGrid.updateObject(this); WorldGrid.updateObject(this);
} }
} }

Loading…
Cancel
Save