diff options
| author | Aldrik Ramaekers <aldrik@amftech.nl> | 2023-04-30 14:06:36 +0200 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@amftech.nl> | 2023-04-30 14:06:36 +0200 |
| commit | 9e70ced6b48d627f236af8ea8366c6ed73748ab1 (patch) | |
| tree | 0c8306a6744923364e7b4c17f9b334ff2529e700 /src/pathfinding.c | |
| parent | d402270d68d7d4a1c887b34cd93e5f11aa61b638 (diff) | |
fix zombie pathfinding bug
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 6897596..f3fa354 100644 --- a/src/pathfinding.c +++ b/src/pathfinding.c @@ -311,6 +311,7 @@ void make_pathfinding_request(vec2f start, vec2f end, array *to_fill, pathfindin request->start = start; request->end = end; request->to_fill = to_fill; + request->active = true; request->timestamp = 0; array_push(&global_pathfinding_queue, (uint8_t*)&request); |
