summaryrefslogtreecommitdiff
path: root/src/nodedef.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-11-25 15:38:18 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-11-29 19:13:51 +0200
commit6a8f9135de448d805457e0b1f561c711d760565e (patch)
tree784ba14cc7cc6f759d76480b154b685a413d5207 /src/nodedef.h
parent704d8a62bf4c52c5ac0d9a85b0b902ea833a7e90 (diff)
downloadminetest-6a8f9135de448d805457e0b1f561c711d760565e.tar.gz
minetest-6a8f9135de448d805457e0b1f561c711d760565e.tar.bz2
minetest-6a8f9135de448d805457e0b1f561c711d760565e.zip
Store metadata as metadata name in node definition
Diffstat (limited to 'src/nodedef.h')
-rw-r--r--src/nodedef.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nodedef.h b/src/nodedef.h
index 0804e0279..87f5fce83 100644
--- a/src/nodedef.h
+++ b/src/nodedef.h
@@ -188,8 +188,8 @@ struct ContentFeatures
std::string extra_dug_item;
// Usual get interval for extra dug item
s32 extra_dug_item_rarity;
- // Initial metadata is cloned from this
- NodeMetadata *initial_metadata;
+ // Metadata name of node (eg. "furnace")
+ std::string metadata_name;
// Whether the node is non-liquid, source liquid or flowing liquid
enum LiquidType liquid_type;
// If the content is liquid, this is the flowing version of the liquid.