Mgvalleys: Correct spawn problems

Increase maximum spawn altitude to reduce spawn issues.
This commit is contained in:
Duane Robertson 2016-03-01 19:50:35 -06:00 committed by paramat
parent 48a718e715
commit af714c7ade
1 changed files with 1 additions and 1 deletions

View File

@ -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;