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

Add param2 field for ores, some minor fixes and misc. code cleanup

This commit is contained in:
kwolekr 2013-04-07 21:21:17 -04:00
parent 4468ea84e6
commit 7c0e707cf1
5 changed files with 33 additions and 48 deletions

View file

@ -180,7 +180,7 @@ void MapgenV7::makeChunk(BlockMakeData *data) {
for (size_t i = 0; i != emerge->ores.size(); i++) {
Ore *ore = emerge->ores[i];
ore->generate(this, blockseed + i, node_min, node_max);
ore->placeOre(this, blockseed + i, node_min, node_max);
}
//printf("makeChunk: %dms\n", t.stop());