Removed scaling. Hopefully we will make this fast enough where it doesn't matter.
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
|
||||
(defn from-path [screen entities target-id [x y]]
|
||||
(let [entity (target-id entities)
|
||||
path (vec (take-nth 2 (advent.pathfind/visit-all
|
||||
path (vec (take-nth 4 (advent.pathfind/visit-all
|
||||
(:collision (:background entities))
|
||||
[(int (:x entity)) (int (:y entity))]
|
||||
[(int x) (int y)])))
|
||||
|
||||
Reference in New Issue
Block a user