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

@ -467,7 +467,7 @@ void MapgenV6::makeChunk(BlockMakeData *data) {
// Generate the registered ores
for (unsigned int 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);
}
// Calculate lighting