mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-30 19:22:14 +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
|
@ -346,7 +346,7 @@ size_t DecoSimple::generate(MMVManip *vm, PcgRandom *pr, v3s16 p, bool ceiling)
|
|||
pr->range(deco_param2, deco_param2_max) : deco_param2;
|
||||
bool force_placement = (flags & DECO_FORCE_PLACEMENT);
|
||||
|
||||
const v3s16 &em = vm->m_area.getExtent();
|
||||
const v3s32 &em = vm->m_area.getExtent();
|
||||
u32 vi = vm->m_area.index(p);
|
||||
|
||||
if (ceiling) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue