1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

A handful of minor fixes to various things

This commit is contained in:
kwolekr 2013-06-22 17:27:48 -04:00
parent c1b829077a
commit 4d77781ce7
6 changed files with 27 additions and 34 deletions

View file

@ -132,8 +132,6 @@ int MapgenV7::getGroundLevelAtPoint(v2s16 p) {
y--;
}
if (iters == 0)
printf("iters exhausted at %d %d\n", p.X, p.Y);
return y + b->top_depth;
}
@ -442,7 +440,7 @@ void MapgenV7::addTopNodes() {
continue;
}
// N.B. It is necessary to search downward since range_heightmap[i]
// N.B. It is necessary to search downward since ridge_heightmap[i]
// might not be the actual height, just the lowest part in the chunk
// where a ridge had been carved
u32 i = vm->m_area.index(x, y, z);