aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen_v6.cpp
diff options
context:
space:
mode:
authorrubenwardy <rubenwardy@gmail.com>2015-07-13 16:01:31 +0100
committerest31 <MTest31@outlook.com>2015-08-02 14:27:04 +0200
commitec796b8e814864b433aea75119c307f44b2b33e8 (patch)
tree4e151014740276ca0c3614e03dc90fbc7b46b4ac /src/mapgen_v6.cpp
parenta5e5aa5be978d2f6e23d4eeab04d2ac9beefe170 (diff)
downloadminetest-ec796b8e814864b433aea75119c307f44b2b33e8.tar.gz
minetest-ec796b8e814864b433aea75119c307f44b2b33e8.tar.bz2
minetest-ec796b8e814864b433aea75119c307f44b2b33e8.zip
Add map limit config option
Diffstat (limited to 'src/mapgen_v6.cpp')
-rw-r--r--src/mapgen_v6.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapgen_v6.cpp b/src/mapgen_v6.cpp
index 09acec783..9e34aac2d 100644
--- a/src/mapgen_v6.cpp
+++ b/src/mapgen_v6.cpp
@@ -626,7 +626,7 @@ int MapgenV6::generateGround()
MapNode n_air(CONTENT_AIR), n_water_source(c_water_source);
MapNode n_stone(c_stone), n_desert_stone(c_desert_stone);
MapNode n_ice(c_ice);
- int stone_surface_max_y = -MAP_GENERATION_LIMIT;
+ int stone_surface_max_y = -MAX_MAP_GENERATION_LIMIT;
u32 index = 0;
for (s16 z = node_min.Z; z <= node_max.Z; z++)