summaryrefslogtreecommitdiff
path: root/include/zombies.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-05-16 16:37:39 +0200
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-05-16 16:37:39 +0200
commit544f338b8e9ea010eccedbfa24bee5c97b7d3621 (patch)
tree029154f6de1a78c73a6aa9a5dfad2c16fb8928bd /include/zombies.h
parentb2ca9b477856cd8ea284389b91d718e8ea814d7b (diff)
walls, msvc building
Diffstat (limited to 'include/zombies.h')
-rw-r--r--include/zombies.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/zombies.h b/include/zombies.h
index 85f66df..bb74d23 100644
--- a/include/zombies.h
+++ b/include/zombies.h
@@ -46,6 +46,9 @@ typedef struct t_spawner {
// Despawn distance.
#define MAX_DISTANCE_BETWEEN_ZOMBIE_AND_PLAYER 40
+// Spawners closer than this will not spawn.
+#define MIN_DISTANCE_BETWEEN_ZOMBIE_AND_PLAYER 20
+
#define MAX_SPAWNERS (25)
spawner spawner_tiles[MAX_SPAWNERS] = {0};