diff options
author | rubenwardy <rubenwardy@gmail.com> | 2015-07-13 16:01:31 +0100 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2015-08-02 14:27:04 +0200 |
commit | ec796b8e814864b433aea75119c307f44b2b33e8 (patch) | |
tree | 4e151014740276ca0c3614e03dc90fbc7b46b4ac /src/mg_biome.cpp | |
parent | a5e5aa5be978d2f6e23d4eeab04d2ac9beefe170 (diff) | |
download | minetest-ec796b8e814864b433aea75119c307f44b2b33e8.tar.gz minetest-ec796b8e814864b433aea75119c307f44b2b33e8.tar.bz2 minetest-ec796b8e814864b433aea75119c307f44b2b33e8.zip |
Add map limit config option
Diffstat (limited to 'src/mg_biome.cpp')
-rw-r--r-- | src/mg_biome.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mg_biome.cpp b/src/mg_biome.cpp index 1944aa12f..a21d99b17 100644 --- a/src/mg_biome.cpp +++ b/src/mg_biome.cpp @@ -45,8 +45,8 @@ BiomeManager::BiomeManager(IGameDef *gamedef) : b->depth_top = 0; b->depth_filler = 0; b->depth_water_top = 0; - b->y_min = -MAP_GENERATION_LIMIT; - b->y_max = MAP_GENERATION_LIMIT; + b->y_min = -MAX_MAP_GENERATION_LIMIT; + b->y_max = MAX_MAP_GENERATION_LIMIT; b->heat_point = 0.0; b->humidity_point = 0.0; @@ -140,4 +140,3 @@ void Biome::resolveNodeNames() getIdFromNrBacklog(&c_river_water, "mapgen_river_water_source", CONTENT_AIR); getIdFromNrBacklog(&c_dust, "air", CONTENT_IGNORE); } - |