aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-03-19 08:16:17 +0200
committerPerttu Ahola <celeron55@gmail.com>2012-03-19 08:16:17 +0200
commitd24c56fd4b382e0117783a33278cc255b742c03b (patch)
treeabd234dc14c5ff0db5c8040e32c8fa59b7a544e1
parent77d09552ae7b0fc3a7360c262cab19a6fc83e1e9 (diff)
downloadminetest-d24c56fd4b382e0117783a33278cc255b742c03b.tar.gz
minetest-d24c56fd4b382e0117783a33278cc255b742c03b.tar.bz2
minetest-d24c56fd4b382e0117783a33278cc255b742c03b.zip
Unknown nodes can be dug
-rw-r--r--src/nodedef.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nodedef.cpp b/src/nodedef.cpp
index e9abc323b..f1946830f 100644
--- a/src/nodedef.cpp
+++ b/src/nodedef.cpp
@@ -109,6 +109,8 @@ void ContentFeatures::reset()
*/
name = "";
groups.clear();
+ // Unknown nodes can be dug
+ groups["dig_immediate"] = 2;
drawtype = NDT_NORMAL;
visual_scale = 1.0;
for(u32 i=0; i<6; i++)