mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix nearly all warnings
This commit is contained in:
parent
55a97f4605
commit
d00e8bd31a
15 changed files with 13 additions and 30 deletions
|
@ -152,8 +152,6 @@ void MapgenV7::makeChunk(BlockMakeData *data) {
|
|||
|
||||
v3s16 blockpos_min = data->blockpos_min;
|
||||
v3s16 blockpos_max = data->blockpos_max;
|
||||
v3s16 blockpos_full_min = blockpos_min - v3s16(1, 1, 1);
|
||||
v3s16 blockpos_full_max = blockpos_max + v3s16(1, 1, 1);
|
||||
node_min = blockpos_min * MAP_BLOCKSIZE;
|
||||
node_max = (blockpos_max + v3s16(1, 1, 1)) * MAP_BLOCKSIZE - v3s16(1, 1, 1);
|
||||
full_node_min = (blockpos_min - 1) * MAP_BLOCKSIZE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue