mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-29 14:45:20 +01:00
Use appropriate sized type for VoxelArea extent
This commit is contained in:
@@ -278,7 +278,7 @@ s16 MapgenFlat::generateTerrain()
|
||||
MapNode n_stone(c_stone);
|
||||
MapNode n_water(c_water_source);
|
||||
|
||||
const v3s16 &em = vm->m_area.getExtent();
|
||||
const v3s32 &em = vm->m_area.getExtent();
|
||||
s16 stone_surface_max_y = -MAX_MAP_GENERATION_LIMIT;
|
||||
u32 ni2d = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user