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-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=811ac5ac3ae6de6ee152f724aaf392ac73c3ed40;p=zefram%2Fminetest%2Fminetest_engine.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 de724659..0e48c8c0 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 != "")