slightly less rounded movement.

This commit is contained in:
Bryce Covert
2015-11-27 19:19:23 -08:00
parent d50acf3205
commit 0fdb137502

View File

@@ -319,7 +319,7 @@
(let [{start-x :x start-y :y} (get-in @entities [:room :entities target-id])
final-x (int final-x)
final-y (int final-y)
path (vec (take-nth 5 (advent.pathfind/visit-all
path (vec (take-nth 4 (advent.pathfind/visit-all
(:collision (:room @entities))
[(int start-x) (int start-y)]
[final-x final-y])))