From: Perttu Ahola Date: Sat, 19 Nov 2011 17:06:19 +0000 (+0200) Subject: Mess up with node definitions to make CONTENT_IGNORE be correctly interpreted when... X-Git-Tag: 0.4.dev-20111201-0~113 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=811ac5ac3ae6de6ee152f724aaf392ac73c3ed40;p=oweals%2Fminetest.git Mess up with node definitions to make CONTENT_IGNORE be correctly interpreted when creating meshes --- diff --git a/src/nodedef.cpp b/src/nodedef.cpp index de724659b..0e48c8c07 100644 --- a/src/nodedef.cpp +++ b/src/nodedef.cpp @@ -347,13 +347,13 @@ public: ContentFeatures f; f.name = "ignore"; f.drawtype = NDT_AIRLIKE; - f.param_type = CPT_LIGHT; + /*f.param_type = CPT_LIGHT; f.light_propagates = true; - f.sunlight_propagates = true; + f.sunlight_propagates = true;*/ f.walkable = false; f.pointable = false; f.diggable = false; - f.buildable_to = true; + f.buildable_to = false; f.air_equivalent = true; set(CONTENT_IGNORE, f); } @@ -424,6 +424,15 @@ public: infostream<<"registerNode: registering content id \""<deSerialize(tmp_is, gamedef); if(f->name != "")