aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen_v6.cpp
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2013-04-07 21:21:17 -0400
committerkwolekr <kwolekr@minetest.net>2013-04-07 21:21:54 -0400
commit7c0e707cf1d0031788567bfec66f6c13ec901cdc (patch)
tree4cf8b884735e874a91d905ea1e2453af8f2a04af /src/mapgen_v6.cpp
parent4468ea84e6d0faede5a01e8d97d359c537aa7ec8 (diff)
downloadminetest-7c0e707cf1d0031788567bfec66f6c13ec901cdc.tar.gz
minetest-7c0e707cf1d0031788567bfec66f6c13ec901cdc.tar.bz2
minetest-7c0e707cf1d0031788567bfec66f6c13ec901cdc.zip
Add param2 field for ores, some minor fixes and misc. code cleanup
Diffstat (limited to 'src/mapgen_v6.cpp')
-rw-r--r--src/mapgen_v6.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapgen_v6.cpp b/src/mapgen_v6.cpp
index 4a037bb85..2e44d7b4a 100644
--- a/src/mapgen_v6.cpp
+++ b/src/mapgen_v6.cpp
@@ -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