From fe338745a3bf008c337c24f080c83c7c557c08ed Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Tue, 18 Oct 2011 00:41:17 +0300 Subject: [PATCH] Make active_block_range default to 2 --- minetest.conf.example | 2 +- src/defaultsettings.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/minetest.conf.example b/minetest.conf.example index a6f8b593..6f817d33 100644 --- a/minetest.conf.example +++ b/minetest.conf.example @@ -140,7 +140,7 @@ # Player and object positions are sent at intervals specified by this #objectdata_interval = 0.2 #active_object_send_range_blocks = 3 -#active_block_range = 5 +#active_block_range = 2 #max_simultaneous_block_sends_per_client = 2 #max_simultaneous_block_sends_server_total = 8 #max_block_send_distance = 8 diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp index 2b3cff93..b05d060a 100644 --- a/src/defaultsettings.cpp +++ b/src/defaultsettings.cpp @@ -94,7 +94,7 @@ void set_default_settings(Settings *settings) settings->setDefault("enable_mapgen_debug_info", "false"); settings->setDefault("objectdata_interval", "0.2"); settings->setDefault("active_object_send_range_blocks", "3"); - settings->setDefault("active_block_range", "3"); + settings->setDefault("active_block_range", "2"); //settings->setDefault("max_simultaneous_block_sends_per_client", "1"); // This causes frametime jitter on client side, or does it? settings->setDefault("max_simultaneous_block_sends_per_client", "2"); -- 2.30.2