1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-12-23 08:08:47 -05:00

Set default maximum viewing range to a bit more than default server send range to make fog work well

This commit is contained in:
Perttu Ahola 2012-02-03 02:24:36 +02:00
parent 94b25685c5
commit ad5ac22442

View File

@ -64,8 +64,9 @@ void set_default_settings(Settings *settings)
settings->setDefault("wanted_fps", "30"); settings->setDefault("wanted_fps", "30");
settings->setDefault("fps_max", "60"); 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_min", "35");
settings->setDefault("viewing_range_nodes_max", "128");
settings->setDefault("screenW", "800"); settings->setDefault("screenW", "800");
settings->setDefault("screenH", "600"); settings->setDefault("screenH", "600");
settings->setDefault("address", ""); settings->setDefault("address", "");