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:
parent
4468ea84e6
commit
7c0e707cf1
5 changed files with 33 additions and 48 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue