From: Perttu Ahola Date: Sat, 3 Dec 2011 11:56:39 +0000 (+0200) Subject: Allow digging unknown nodes X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=d566ffaa5fc8400d4b457b2c0b4edd36189417d9;p=zefram%2Fminetest%2Fminetest_engine.git Allow digging unknown nodes --- diff --git a/src/nodedef.cpp b/src/nodedef.cpp index cbb3b613..9f2d4f0a 100644 --- a/src/nodedef.cpp +++ b/src/nodedef.cpp @@ -472,6 +472,8 @@ public: ContentFeatures f; f.name = name; f.setAllTextures("unknown_block.png"); + // Make unknown blocks diggable + f.material.diggability = DIGGABLE_NORMAL; return set(name, f); } virtual void updateTextures(ITextureSource *tsrc)