Set default maximum viewing range to a bit more than default server send range to...
authorPerttu Ahola <celeron55@gmail.com>
Fri, 3 Feb 2012 00:24:36 +0000 (02:24 +0200)
committerPerttu Ahola <celeron55@gmail.com>
Mon, 6 Feb 2012 15:34:45 +0000 (17:34 +0200)
src/defaultsettings.cpp

index 78a1d0aa1013b590c371cebbc9657071c6adec94..3f6901e8f4b8d33b16efed11945bee52290dc161 100644 (file)
@@ -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", "");