From: Perttu Ahola Date: Fri, 3 Feb 2012 00:24:36 +0000 (+0200) Subject: Set default maximum viewing range to a bit more than default server send range to... X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=ad5ac22442ce850ec1f9f1cfc3ca0f79fdf255f7;p=zefram%2Fminetest%2Fminetest_engine.git Set default maximum viewing range to a bit more than default server send range to make fog work well --- diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp index 78a1d0aa..3f6901e8 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", "");