Skip to content

Commit af714c7

Browse files
duane-rparamat
authored andcommittedMar 4, 2016
Mgvalleys: Correct spawn problems
Increase maximum spawn altitude to reduce spawn issues.
1 parent 48a718e commit af714c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/mapgen_valleys.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ int MapgenValleys::getSpawnLevelAtPoint(v2s16 p)
536536

537537
s16 level_at_point = terrainLevelAtPoint(p.X, p.Y);
538538
if (level_at_point <= water_level ||
539-
level_at_point > water_level + 16)
539+
level_at_point > water_level + 32)
540540
return MAX_MAP_GENERATION_LIMIT; // Unsuitable spawn point
541541
else
542542
return level_at_point;

0 commit comments

Comments
 (0)
Please sign in to comment.