summaryrefslogtreecommitdiff
path: root/include/pathfinding.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2023-04-30 14:06:36 +0200
committerAldrik Ramaekers <aldrik@amftech.nl>2023-04-30 14:06:36 +0200
commit9e70ced6b48d627f236af8ea8366c6ed73748ab1 (patch)
tree0c8306a6744923364e7b4c17f9b334ff2529e700 /include/pathfinding.h
parentd402270d68d7d4a1c887b34cd93e5f11aa61b638 (diff)
fix zombie pathfinding bug
Diffstat (limited to 'include/pathfinding.h')
-rw-r--r--include/pathfinding.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/pathfinding.h b/include/pathfinding.h
index 9dcaab3..e648f2c 100644
--- a/include/pathfinding.h
+++ b/include/pathfinding.h
@@ -15,6 +15,7 @@ typedef struct t_pathfinding_request
array *to_fill;
uint64_t timestamp;
mutex mutex;
+ bool active;
} pathfinding_request;
array global_pathfinding_queue;