aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-10-18 00:41:17 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-10-18 00:41:17 +0300
commitfe338745a3bf008c337c24f080c83c7c557c08ed (patch)
tree2959ab3398acedb6e17c3ce879a01d84c3bb6bc2
parent6ce0c61dc0001f5eba265bbf3463ae9b38d310b9 (diff)
downloadminetest-fe338745a3bf008c337c24f080c83c7c557c08ed.tar.gz
minetest-fe338745a3bf008c337c24f080c83c7c557c08ed.tar.bz2
minetest-fe338745a3bf008c337c24f080c83c7c557c08ed.zip
Make active_block_range default to 2
-rw-r--r--minetest.conf.example2
-rw-r--r--src/defaultsettings.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/minetest.conf.example b/minetest.conf.example
index a6f8b5931..6f817d337 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 2b3cff93f..b05d060ac 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");