diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-04-04 03:45:08 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-04-04 03:45:08 +0300 |
commit | fa08294d09a46b603e9ff5e034010c0a7986c61a (patch) | |
tree | 8765f5e066c7609e4df401ef4affabcd8a07241b /src/mapnode.cpp | |
parent | 2f466726e6e8c318d3277eff6d987197c13e8bd3 (diff) | |
download | minetest-fa08294d09a46b603e9ff5e034010c0a7986c61a.tar.gz minetest-fa08294d09a46b603e9ff5e034010c0a7986c61a.tar.bz2 minetest-fa08294d09a46b603e9ff5e034010c0a7986c61a.zip |
Node metadata framework
Diffstat (limited to 'src/mapnode.cpp')
-rw-r--r-- | src/mapnode.cpp | 2 |
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(); } |