Skip to content
Permalink
Browse files
Mgvalleys: Correct spawn problems
Increase maximum spawn altitude to reduce spawn issues.
  • Loading branch information
duane-r authored and paramat committed Mar 4, 2016
1 parent 48a718e commit af714c7ade02d3f645671276a0f0514f5099b59e
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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;

0 comments on commit af714c7

Please sign in to comment.