aboutsummaryrefslogtreecommitdiff
path: root/src/mapnode.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-04-04 03:45:08 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-04-04 03:45:08 +0300
commitfa08294d09a46b603e9ff5e034010c0a7986c61a (patch)
tree8765f5e066c7609e4df401ef4affabcd8a07241b /src/mapnode.cpp
parent2f466726e6e8c318d3277eff6d987197c13e8bd3 (diff)
downloadhax-minetest-server-fa08294d09a46b603e9ff5e034010c0a7986c61a.tar.gz
hax-minetest-server-fa08294d09a46b603e9ff5e034010c0a7986c61a.zip
Node metadata framework
Diffstat (limited to 'src/mapnode.cpp')
-rw-r--r--src/mapnode.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mapnode.cpp b/src/mapnode.cpp
index a8c951ab3..c8a7e504c 100644
--- a/src/mapnode.cpp
+++ b/src/mapnode.cpp
@@ -306,6 +306,8 @@ void init_mapnode()
f->walkable = false;
f->wall_mounted = true;
f->dug_item = std::string("MaterialItem ")+itos(i)+" 1";
+ if(f->initial_metadata == NULL)
+ f->initial_metadata = new SignNodeMetadata();
}