mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-23 20:55:43 +02:00
Use appropriate sized type for VoxelArea extent
This commit is contained in:
@@ -445,7 +445,7 @@ int MapgenCarpathian::generateTerrain()
|
||||
noise_rivers->perlinMap2D(node_min.X, node_min.Z);
|
||||
|
||||
//// Place nodes
|
||||
const v3s16 &em = vm->m_area.getExtent();
|
||||
const v3s32 &em = vm->m_area.getExtent();
|
||||
s16 stone_surface_max_y = -MAX_MAP_GENERATION_LIMIT;
|
||||
u32 index2d = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user