Make active_block_range default to 2
authorPerttu Ahola <celeron55@gmail.com>
Mon, 17 Oct 2011 21:41:17 +0000 (00:41 +0300)
committerPerttu Ahola <celeron55@gmail.com>
Mon, 17 Oct 2011 21:41:17 +0000 (00:41 +0300)
minetest.conf.example
src/defaultsettings.cpp

index a6f8b59316d03e622faf404228bf7630fb7c989f..6f817d3372d8e3dba47bbb9493985f51b6244de7 100644 (file)
 # 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
index 2b3cff93f880d35af5a480f39b0def7c53e7c2f0..b05d060ac10f037e0e63eef7eb3dfdb4106bc191 100644 (file)
@@ -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");