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 --- include/zombies.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'include/zombies.h') 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); -- cgit v1.2.3-70-g09d2