slightly less rounded movement.
This commit is contained in:
@@ -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])))
|
||||
|
||||
Reference in New Issue
Block a user