Skip to content
Snippets Groups Projects
Commit af714c7a authored by Duane Robertson's avatar Duane Robertson Committed by paramat
Browse files

Mgvalleys: Correct spawn problems

Increase maximum spawn altitude to reduce spawn issues.
parent 48a718e7
No related branches found
No related tags found
No related merge requests found
......@@ -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% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment