smarter monster pathifinding

This commit is contained in:
ondra
2014-05-11 09:38:31 +02:00
parent c09a6f83e9
commit c67ab0cd4a
@@ -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);
}