Skip to content

Commit

Permalink
Mgvalleys: Correct spawn problems
Browse files Browse the repository at this point in the history
Increase maximum spawn altitude to reduce spawn issues.
  • Loading branch information
duane-r authored and paramat committed Mar 4, 2016
1 parent 48a718e commit af714c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mapgen_valleys.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit af714c7

Please sign in to comment.