summaryrefslogtreecommitdiff
path: root/include/zombies.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/zombies.h
parentd402270d68d7d4a1c887b34cd93e5f11aa61b638 (diff)
fix zombie pathfinding bug
Diffstat (limited to 'include/zombies.h')
-rw-r--r--include/zombies.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/zombies.h b/include/zombies.h
index 72836ea..0c18bef 100644
--- a/include/zombies.h
+++ b/include/zombies.h
@@ -28,11 +28,10 @@ typedef struct t_spawner {
} spawner;
#define MAX_SPAWNERS (5)
-// data data that is stored on disk
spawner spawner_tiles[MAX_SPAWNERS] = {0};
-#define MAX_ZOMBIES (50)
-zombie zombies[MAX_ZOMBIES] = {0};
+#define SERVER_MAX_ZOMBIES (50)
+zombie zombies[SERVER_MAX_ZOMBIES] = {0};
void create_spawner(vec2 position);
void draw_spawners(platform_window* window);