summaryrefslogtreecommitdiff
path: root/include/zombies.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-05-16 20:33:22 +0200
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-05-16 20:33:22 +0200
commit250361975fc81ca01d96f615ed1226641887c305 (patch)
treee11c9cf7ad6cf7d5d363286fc462de02c9a8e9d2 /include/zombies.h
parent544f338b8e9ea010eccedbfa24bee5c97b7d3621 (diff)
improve pathfinding
Diffstat (limited to 'include/zombies.h')
-rw-r--r--include/zombies.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/zombies.h b/include/zombies.h
index bb74d23..36d4ede 100644
--- a/include/zombies.h
+++ b/include/zombies.h
@@ -29,6 +29,7 @@ typedef struct t_zombie {
float sec_since_last_attack;
array next_path;
float time_since_last_path;
+ float time_since_last_successfull_req;
pathfinding_request request;
vec2f next2tiles[2];
zombie_type type;