mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-06 17:41:04 +00:00
Use appropriate sized type for VoxelArea extent
This commit is contained in:
parent
3c5e0d10fc
commit
8957739cdf
16 changed files with 62 additions and 47 deletions
|
@ -344,7 +344,7 @@ int MapgenValleys::generateTerrain()
|
|||
|
||||
noise_inter_valley_fill->perlinMap3D(node_min.X, node_min.Y - 1, node_min.Z);
|
||||
|
||||
const v3s16 &em = vm->m_area.getExtent();
|
||||
const v3s32 &em = vm->m_area.getExtent();
|
||||
s16 surface_max_y = -MAX_MAP_GENERATION_LIMIT;
|
||||
u32 index_2d = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue