From 981d99c229161c8afa508468032fe3ea0b924d3b Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Sat, 11 May 2024 10:10:23 +0200 Subject: render order, zombie render fix --- src/pathfinding.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/pathfinding.c') 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; -- cgit v1.2.3-70-g09d2