diff options
| author | Aldrik Ramaekers <aldrikboy@gmail.com> | 2024-05-11 10:10:23 +0200 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrikboy@gmail.com> | 2024-05-11 10:10:23 +0200 |
| commit | 981d99c229161c8afa508468032fe3ea0b924d3b (patch) | |
| tree | cb0a2047210da5bb67e4e5b1acb6f9af390c9783 /src/pathfinding.c | |
| parent | 962ebf95459a8da08f44898d13d185e60de59b45 (diff) | |
render order, zombie render fix
Diffstat (limited to 'src/pathfinding.c')
| -rw-r--r-- | src/pathfinding.c | 1 |
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; |
