1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Mapgen: Use getBlockSeed2() for blockseeds (much better uniformity)

This commit is contained in:
kwolekr 2014-12-29 21:44:52 -05:00
parent ca89e63b27
commit 0974337804
10 changed files with 24 additions and 16 deletions

View file

@ -78,6 +78,8 @@ void MapgenSinglenode::makeChunk(BlockMakeData *data) {
v3s16 node_min = blockpos_min*MAP_BLOCKSIZE;
v3s16 node_max = (blockpos_max+v3s16(1,1,1))*MAP_BLOCKSIZE-v3s16(1,1,1);
blockseed = getBlockSeed2(node_min, data->seed);
MapNode n_node(c_node);
for (s16 z = node_min.Z; z <= node_max.Z; z++)