diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-04-05 00:24:47 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-04-05 00:24:47 +0300 |
commit | 389fe31ace38a8f53c210ff5ae823eae1780dfc8 (patch) | |
tree | 3d66530794524c140a420e6f6c665c94e7d49162 /src/mapnode.cpp | |
parent | 042834b09d8d2d814204244e3a64f5fb1cb7582c (diff) | |
download | minetest-389fe31ace38a8f53c210ff5ae823eae1780dfc8.tar.gz minetest-389fe31ace38a8f53c210ff5ae823eae1780dfc8.tar.bz2 minetest-389fe31ace38a8f53c210ff5ae823eae1780dfc8.zip |
changed node metadata format to better accomodate future needs and problems
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 f498d9e75..8e968c811 100644 --- a/src/mapnode.cpp +++ b/src/mapnode.cpp @@ -321,6 +321,8 @@ void init_mapnode() f->setTexture(5, "furnace_front.png"); // Z- f->setInventoryTexture("furnace_front.png"); f->dug_item = std::string("MaterialItem ")+itos(i)+" 1"; + if(f->initial_metadata == NULL) + f->initial_metadata = new FurnaceNodeMetadata(); } |