aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-02-03 02:24:36 +0200
committerPerttu Ahola <celeron55@gmail.com>2012-03-27 19:09:07 +0300
commit202658678dbe7ed0e8782465d3622ec83904ea64 (patch)
tree69435498be17496b7c1471105640146aea7bbc46
parent4f01db256f7ee4ece5515c417919fb975dab0dca (diff)
downloadminetest-202658678dbe7ed0e8782465d3622ec83904ea64.tar.gz
minetest-202658678dbe7ed0e8782465d3622ec83904ea64.tar.bz2
minetest-202658678dbe7ed0e8782465d3622ec83904ea64.zip
Set default maximum viewing range to a bit more than default server send range to make fog work well
-rw-r--r--src/defaultsettings.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp
index 1200c76e8..b75efe9c9 100644
--- a/src/defaultsettings.cpp
+++ b/src/defaultsettings.cpp
@@ -70,8 +70,8 @@ void set_default_settings(Settings *settings)
settings->setDefault("wanted_fps", "30");
settings->setDefault("fps_max", "60");
// A bit more than the server will send around the player, to make fog blend well
- settings->setDefault("viewing_range_nodes_min", "35");
settings->setDefault("viewing_range_nodes_max", "160");
+ settings->setDefault("viewing_range_nodes_min", "15");
settings->setDefault("screenW", "800");
settings->setDefault("screenH", "600");
settings->setDefault("address", "");
@@ -123,7 +123,7 @@ void set_default_settings(Settings *settings)
// This causes frametime jitter on client side, or does it?
settings->setDefault("max_simultaneous_block_sends_per_client", "4");
settings->setDefault("max_simultaneous_block_sends_server_total", "20");
- settings->setDefault("max_block_send_distance", "10");
+ settings->setDefault("max_block_send_distance", "9");
settings->setDefault("max_block_generate_distance", "7");
settings->setDefault("time_send_interval", "5");
settings->setDefault("time_speed", "96");