From ad5ac22442ce850ec1f9f1cfc3ca0f79fdf255f7 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Fri, 3 Feb 2012 02:24:36 +0200 Subject: [PATCH] Set default maximum viewing range to a bit more than default server send range to make fog work well --- src/defaultsettings.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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", ""); -- 2.30.2