diff options
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; |
