smarter monster pathifinding

v5stable
ondra 10 years ago
parent c09a6f83e9
commit c67ab0cd4a
  1. 3
      src/mightypork/rogue/world/entity/entities/MonsterAi.java

@ -284,7 +284,8 @@ public class MonsterAi extends EntityModule implements EntityMoveListener {
}
//System.out.println("step to prey");
entity.pos.addStep(preyPath.get(0));
entity.pos.cancelPath();
entity.pos.addSteps(preyPath);
}

Loading…
Cancel
Save