From 9e70ced6b48d627f236af8ea8366c6ed73748ab1 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Sun, 30 Apr 2023 14:06:36 +0200 Subject: fix zombie pathfinding bug --- 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 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); -- cgit v1.2.3-70-g09d2