From 541d08468e23cbbeabef950dd5b0b7d21f1b1334 Mon Sep 17 00:00:00 2001 From: Cameron Reikes Date: Sat, 12 Nov 2022 00:44:56 -0800 Subject: [PATCH] Massive bump in proximity voice chat travel dist --- types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types.h b/types.h index b8c988a..9fc14ef 100644 --- a/types.h +++ b/types.h @@ -40,7 +40,7 @@ #define VOIP_SAMPLE_RATE 48000 #define VOIP_TIME_PER_PACKET 1.0f / ((float)(VOIP_SAMPLE_RATE/VOIP_EXPECTED_FRAME_COUNT)) // in seconds #define VOIP_PACKET_MAX_SIZE 4000 -#define VOIP_DISTANCE_WHEN_CANT_HEAR (BOX_SIZE*13.0f) +#define VOIP_DISTANCE_WHEN_CANT_HEAR (VISION_RADIUS*0.8f) #define TIMESTEP (1.0f / 60.0f) // not required to simulate at this, but this defines what tick the game is on #define TIME_BETWEEN_INPUT_PACKETS (1.0f / 20.0f)