summaryrefslogtreecommitdiff
path: root/include/zombies.h
diff options
context:
space:
mode:
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};