1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-02 16:38:41 +00:00

VoxelArea: add_{x,y,z,p} must be static

Fix some documentations issues
Use getNodeNoCheck(v3s16, ...) in some cases instead of getNodeNoCheck(x, y, z, ...)
This commit is contained in:
Loic Blot 2018-03-09 08:49:00 +01:00 committed by Loïc Blot
parent 3b27cf30d9
commit 12d1e4ff04
11 changed files with 72 additions and 61 deletions

View file

@ -539,7 +539,7 @@ int MapgenV7::generateTerrain()
vm->m_data[vi] = n_air;
}
}
vm->m_area.add_y(em, vi, 1);
VoxelArea::add_y(em, vi, 1);
index3d += ystride;
}
}