summaryrefslogtreecommitdiff
path: root/src/pathfinding.c
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-05-11 10:10:23 +0200
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-05-11 10:10:23 +0200
commit981d99c229161c8afa508468032fe3ea0b924d3b (patch)
treecb0a2047210da5bb67e4e5b1acb6f9af390c9783 /src/pathfinding.c
parent962ebf95459a8da08f44898d13d185e60de59b45 (diff)
render order, zombie render fix
Diffstat (limited to 'src/pathfinding.c')
-rw-r--r--src/pathfinding.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pathfinding.c b/src/pathfinding.c
index 70b084b..939adbe 100644
--- a/src/pathfinding.c
+++ b/src/pathfinding.c
@@ -219,6 +219,7 @@ bool find_path_to(vec2f start_pos, vec2f end_pos, array *to_fill, pathfinding_re
vec2f get_open_tile_next_to_target(float x, float y)
{
vec2f adjecent[8] = { {0, -1}, {0, 1}, {-1, 0}, {1, 0}, {-1, -1}, {-1, 1}, {1, -1}, {1, 1} };
+ //vec2f adjecent[4] = { {0, -1}, {0, 1}, {-1, 0}, {1, 0}};
vec2f v_s;
v_s.x = x;