From: Duane Robertson Date: Wed, 2 Mar 2016 01:50:35 +0000 (-0600) Subject: Mgvalleys: Correct spawn problems X-Git-Tag: 0.4.14~202 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=af714c7ade02d3f645671276a0f0514f5099b59e;p=oweals%2Fminetest.git Mgvalleys: Correct spawn problems Increase maximum spawn altitude to reduce spawn issues. --- 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;