summaryrefslogtreecommitdiff
path: root/src/content_nodemeta.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-12-01 01:58:31 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-12-01 01:58:31 +0200
commit8b8ef8acc0cc0b59e231d55e7857f629fee27e66 (patch)
tree6b59dffa4cc0949bd732ddc632dba408d7d91c27 /src/content_nodemeta.cpp
parent74c6836f2fd5c80e901bae604973b700b06727d8 (diff)
downloadminetest-8b8ef8acc0cc0b59e231d55e7857f629fee27e66.tar.gz
minetest-8b8ef8acc0cc0b59e231d55e7857f629fee27e66.tar.bz2
minetest-8b8ef8acc0cc0b59e231d55e7857f629fee27e66.zip
Move NodeMetadata prototype containers to content_nodemeta.cpp to fix them not being filled correctly on some systems and compilers
Diffstat (limited to 'src/content_nodemeta.cpp')
-rw-r--r--src/content_nodemeta.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/content_nodemeta.cpp b/src/content_nodemeta.cpp
index 064194186..8666051a4 100644
--- a/src/content_nodemeta.cpp
+++ b/src/content_nodemeta.cpp
@@ -32,6 +32,9 @@ class Inventory;
#define NODEMETA_FURNACE 16
#define NODEMETA_LOCKABLE_CHEST 17
+core::map<u16, NodeMetadata::Factory> NodeMetadata::m_types;
+core::map<std::string, NodeMetadata::Factory2> NodeMetadata::m_names;
+
class SignNodeMetadata : public NodeMetadata
{
public: