aboutsummaryrefslogtreecommitdiff
path: root/src/nodemetadata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/nodemetadata.cpp')
-rw-r--r--src/nodemetadata.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/nodemetadata.cpp b/src/nodemetadata.cpp
index be21622d3..308a33854 100644
--- a/src/nodemetadata.cpp
+++ b/src/nodemetadata.cpp
@@ -99,6 +99,9 @@ void NodeMetadata::registerType(u16 id, Factory f)
SignNodeMetadata
*/
+// Prototype
+SignNodeMetadata proto_SignNodeMetadata("");
+
SignNodeMetadata::SignNodeMetadata(std::string text):
m_text(text)
{
@@ -130,6 +133,9 @@ std::string SignNodeMetadata::infoText()
ChestNodeMetadata
*/
+// Prototype
+ChestNodeMetadata proto_ChestNodeMetadata;
+
ChestNodeMetadata::ChestNodeMetadata()
{
NodeMetadata::registerType(typeId(), create);
@@ -182,6 +188,9 @@ bool ChestNodeMetadata::nodeRemovalDisabled()
FurnaceNodeMetadata
*/
+// Prototype
+FurnaceNodeMetadata proto_FurnaceNodeMetadata;
+
FurnaceNodeMetadata::FurnaceNodeMetadata()
{
NodeMetadata::registerType(typeId(), create);