mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Warnings fix
This commit is contained in:
parent
037e84d377
commit
174285f298
2 changed files with 2 additions and 1 deletions
|
@ -255,7 +255,7 @@ int MapgenMath::generateTerrain() {
|
|||
*/
|
||||
for (s16 z = node_min.Z; z <= node_max.Z; z++) {
|
||||
for (s16 x = node_min.X; x <= node_max.X; x++, index++) {
|
||||
Biome *biome = bmgr->biomes[biomemap[index]];
|
||||
//Biome *biome = bmgr->biomes[biomemap[index]];
|
||||
u32 i = vm->m_area.index(x, node_min.Y, z);
|
||||
for (s16 y = node_min.Y; y <= node_max.Y; y++) {
|
||||
v3f vec = (v3f(x, y, z) - center) * scale ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue