From ee6cad154699959193d9a0395eb1d144a495c377 Mon Sep 17 00:00:00 2001 From: paramat Date: Sat, 15 Aug 2015 00:21:15 +0100 Subject: [PATCH] Defaultsettings: Increase client_mapblock_limit to 5000 --- minetest.conf.example | 2 +- src/defaultsettings.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/minetest.conf.example b/minetest.conf.example index de3cf3243..50893c578 100644 --- a/minetest.conf.example +++ b/minetest.conf.example @@ -96,7 +96,7 @@ #client_unload_unused_data_timeout = 600 # Maximum number of mapblocks for client to be kept in memory # Set to -1 for unlimited amount -#client_mapblock_limit = 1000 +#client_mapblock_limit = 5000 # Whether to fog out the end of the visible area #enable_fog = true # Whether to show the client debug info (has the same effect as hitting F5) diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp index 92d85c830..f0b02b2d9 100644 --- a/src/defaultsettings.cpp +++ b/src/defaultsettings.cpp @@ -104,7 +104,7 @@ void set_default_settings(Settings *settings) settings->setDefault("address", ""); settings->setDefault("random_input", "false"); settings->setDefault("client_unload_unused_data_timeout", "600"); - settings->setDefault("client_mapblock_limit", "1000"); + settings->setDefault("client_mapblock_limit", "5000"); settings->setDefault("enable_fog", "true"); settings->setDefault("fov", "72"); settings->setDefault("view_bobbing", "true"); @@ -271,7 +271,6 @@ void set_default_settings(Settings *settings) settings->setDefault("max_clearobjects_extra_loaded_blocks", "4096"); settings->setDefault("time_send_interval", "5"); settings->setDefault("time_speed", "72"); - settings->setDefault("year_days", "30"); settings->setDefault("server_unload_unused_data_timeout", "29"); settings->setDefault("max_objects_per_block", "49"); settings->setDefault("server_map_save_interval", "5.3"); -- 2.25.1