From af714c7ade02d3f645671276a0f0514f5099b59e Mon Sep 17 00:00:00 2001 From: Duane Robertson Date: Tue, 1 Mar 2016 19:50:35 -0600 Subject: Mgvalleys: Correct spawn problems Increase maximum spawn altitude to reduce spawn issues. --- src/mapgen_valleys.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3