diff options
| author | Aldrik Ramaekers <aldrik@amftech.nl> | 2023-04-30 14:06:36 +0200 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@amftech.nl> | 2023-04-30 14:06:36 +0200 |
| commit | 9e70ced6b48d627f236af8ea8366c6ed73748ab1 (patch) | |
| tree | 0c8306a6744923364e7b4c17f9b334ff2529e700 /include/zombies.h | |
| parent | d402270d68d7d4a1c887b34cd93e5f11aa61b638 (diff) | |
fix zombie pathfinding bug
Diffstat (limited to 'include/zombies.h')
| -rw-r--r-- | include/zombies.h | 5 |
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); |
