From: Perttu Ahola Date: Tue, 15 Nov 2011 23:10:20 +0000 (+0200) Subject: Remove content dependencies from mapblock.cpp X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=3318d0b4b865f648af9314bf649312f2fd24117c;p=zefram%2Fminetest%2Fminetest_engine.git Remove content dependencies from mapblock.cpp --- diff --git a/src/mapblock.cpp b/src/mapblock.cpp index dcafaae7..f7cbda74 100644 --- a/src/mapblock.cpp +++ b/src/mapblock.cpp @@ -931,20 +931,10 @@ std::string analyze_block(MapBlock *block) } else { - // We'll just define the numbers here, don't want to include - // content_mapnode.h - const content_t content_water = 2; - const content_t content_watersource = 9; - const content_t content_tree = 0x801; - const content_t content_leaves = 0x802; - const content_t content_jungletree = 0x815; - bool full_ignore = true; bool some_ignore = false; bool full_air = true; bool some_air = false; - bool trees = false; - bool water = false; for(s16 z0=0; z0=2) desc<