diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-02-03 02:24:36 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-02-06 17:34:45 +0200 |
commit | ad5ac22442ce850ec1f9f1cfc3ca0f79fdf255f7 (patch) | |
tree | 51733f348ba59ee1dc778ad6b5503f39a76363af /src/defaultsettings.cpp | |
parent | 94b25685c53e8a4494c71557b8db3e2570f5c287 (diff) | |
download | minetest-ad5ac22442ce850ec1f9f1cfc3ca0f79fdf255f7.tar.gz minetest-ad5ac22442ce850ec1f9f1cfc3ca0f79fdf255f7.tar.bz2 minetest-ad5ac22442ce850ec1f9f1cfc3ca0f79fdf255f7.zip |
Set default maximum viewing range to a bit more than default server send range to make fog work well
Diffstat (limited to 'src/defaultsettings.cpp')
-rw-r--r-- | src/defaultsettings.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp index 78a1d0aa1..3f6901e8f 100644 --- a/src/defaultsettings.cpp +++ b/src/defaultsettings.cpp @@ -64,8 +64,9 @@ void set_default_settings(Settings *settings) settings->setDefault("wanted_fps", "30"); settings->setDefault("fps_max", "60"); - settings->setDefault("viewing_range_nodes_max", "300"); + // 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", "128"); settings->setDefault("screenW", "800"); settings->setDefault("screenH", "600"); settings->setDefault("address", ""); |