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

pull/23/merge
Perttu Ahola 2012-02-03 02:24:36 +02:00
parent 94b25685c5
commit ad5ac22442
1 changed files with 2 additions and 1 deletions

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", "");