summaryrefslogtreecommitdiff
path: root/src/mapgen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapgen.h')
-rw-r--r--src/mapgen.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mapgen.h b/src/mapgen.h
index 8cac58599..5b5ed19a2 100644
--- a/src/mapgen.h
+++ b/src/mapgen.h
@@ -204,6 +204,8 @@ public:
virtual GenElement *getByName(const std::string &name);
+ INodeDefManager *getNodeDef() { return m_ndef; }
+
protected:
INodeDefManager *m_ndef;
std::vector<GenElement *> m_elements;