diff options
author | Duane Robertson <duane@duanerobertson.com> | 2016-03-01 19:50:35 -0600 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2016-03-04 02:39:04 +0000 |
commit | af714c7ade02d3f645671276a0f0514f5099b59e (patch) | |
tree | 7780b13c9cf9a810c7ad84a61016397eab7ac0a2 /src | |
parent | 48a718e715710c9cb7edd6ad8e1cd7a0ed416908 (diff) | |
download | minetest-af714c7ade02d3f645671276a0f0514f5099b59e.tar.gz minetest-af714c7ade02d3f645671276a0f0514f5099b59e.tar.bz2 minetest-af714c7ade02d3f645671276a0f0514f5099b59e.zip |
Mgvalleys: Correct spawn problems
Increase maximum spawn altitude to reduce spawn issues.
Diffstat (limited to 'src')
-rw-r--r-- | src/mapgen_valleys.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapgen_valleys.cpp b/src/mapgen_valleys.cpp index f9625746b..d6fcde5f7 100644 --- a/src/mapgen_valleys.cpp +++ b/src/mapgen_valleys.cpp @@ -536,7 +536,7 @@ int MapgenValleys::getSpawnLevelAtPoint(v2s16 p) s16 level_at_point = terrainLevelAtPoint(p.X, p.Y); if (level_at_point <= water_level || - level_at_point > water_level + 16) + level_at_point > water_level + 32) return MAX_MAP_GENERATION_LIMIT; // Unsuitable spawn point else return level_at_point; |