diff options
author | Kahrl <kahrl@gmx.net> | 2011-11-26 00:09:36 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-11-29 19:13:52 +0200 |
commit | c1479a273266709d6d0775c690dce31a7a430aa5 (patch) | |
tree | df1a47c7c0b8d923392f6476fdbaf41a15ed11cb /src/mapgen.cpp | |
parent | 1f53ca5f4c2736ab060d93885d9bd956f14ae430 (diff) | |
download | minetest-c1479a273266709d6d0775c690dce31a7a430aa5.tar.gz minetest-c1479a273266709d6d0775c690dce31a7a430aa5.tar.bz2 minetest-c1479a273266709d6d0775c690dce31a7a430aa5.zip |
Add node definitions in Lua and do not use content_mapnode_init anymore (except in test.cpp)
Diffstat (limited to 'src/mapgen.cpp')
-rw-r--r-- | src/mapgen.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mapgen.cpp b/src/mapgen.cpp index f1e109b2d..c2256cedb 100644 --- a/src/mapgen.cpp +++ b/src/mapgen.cpp @@ -2222,8 +2222,7 @@ void make_block(BlockMakeData *data) { u32 i = data->vmanip->m_area.index(p); MapNode *n = &data->vmanip->m_data[i]; - if(data->nodedef->get(*n).is_ground_content - || n->getContent() == LEGN(ndef, "CONTENT_JUNGLETREE")) + if(data->nodedef->get(*n).is_ground_content) { found = true; break; |