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/constants.h | |
parent | a5e5aa5be978d2f6e23d4eeab04d2ac9beefe170 (diff) | |
download | minetest-ec796b8e814864b433aea75119c307f44b2b33e8.tar.gz minetest-ec796b8e814864b433aea75119c307f44b2b33e8.tar.bz2 minetest-ec796b8e814864b433aea75119c307f44b2b33e8.zip |
Add map limit config option
Diffstat (limited to 'src/constants.h')
-rw-r--r-- | src/constants.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/constants.h b/src/constants.h index 22cadc5a8..b606fc4fa 100644 --- a/src/constants.h +++ b/src/constants.h @@ -64,7 +64,8 @@ with this program; if not, write to the Free Software Foundation, Inc., // The absolute working limit is (2^15 - viewing_range). // I really don't want to make every algorithm to check if it's going near // the limit or not, so this is lower. -#define MAP_GENERATION_LIMIT (31000) +// This is the maximum value the setting map_generation_limit can be +#define MAX_MAP_GENERATION_LIMIT (31000) // Size of node in floating-point units // The original idea behind this is to disallow plain casts between @@ -116,4 +117,3 @@ with this program; if not, write to the Free Software Foundation, Inc., #define DEFAULT_FONT_SIZE (10) #endif - |