diff --git a/.gitignore b/.gitignore index d5746a3..cc57c07 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -enc_temp_folder/ # visual studio +enc_temp_folder/ *.spall # profiling *.bin # world files debug_world.bin diff --git a/main.c b/main.c index 48953bb..27a7986 100644 --- a/main.c +++ b/main.c @@ -1283,10 +1283,6 @@ static void frame(void) // "commit" the input. each input must be on a successive tick. if (tick(&gs) > last_input_committed_tick) { - if (cur_input_frame.take_over_squad != -1) - { - Log("Sending take over squad at tick %zu\n", tick(&gs)); - } cur_input_frame.tick = tick(&gs); last_input_committed_tick = tick(&gs); diff --git a/server.c b/server.c index 9371187..933798a 100644 --- a/server.c +++ b/server.c @@ -423,7 +423,7 @@ void server(void *info_raw) last_sent_audio_time = stm_now(); int num_audio_packets = (int)floor(1.0f / (VOIP_TIME_PER_PACKET / audio_time_to_send)); -#define MAX_AUDIO_PACKETS_TO_SEND 6 +#define MAX_AUDIO_PACKETS_TO_SEND 12 if (num_audio_packets > MAX_AUDIO_PACKETS_TO_SEND) { Log("Wants %d, this is too many packets. Greater than the maximum %d\n", num_audio_packets, MAX_AUDIO_PACKETS_TO_SEND);