diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-12-03 13:56:39 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-12-03 13:56:39 +0200 |
commit | d566ffaa5fc8400d4b457b2c0b4edd36189417d9 (patch) | |
tree | 6c0b4b0cf6569d9d86b49acb5c32ec485bafd5b3 | |
parent | d06d7cb9a4e15e158bdfdd45ebf5a077e42ca280 (diff) | |
download | minetest-d566ffaa5fc8400d4b457b2c0b4edd36189417d9.tar.gz minetest-d566ffaa5fc8400d4b457b2c0b4edd36189417d9.tar.bz2 minetest-d566ffaa5fc8400d4b457b2c0b4edd36189417d9.zip |
Allow digging unknown nodes
-rw-r--r-- | src/nodedef.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nodedef.cpp b/src/nodedef.cpp index cbb3b6130..9f2d4f0af 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) |