summaryrefslogtreecommitdiff
path: root/src/mapgen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapgen.h')
-rw-r--r--src/mapgen.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mapgen.h b/src/mapgen.h
index b4cfd67ba..03850cd19 100644
--- a/src/mapgen.h
+++ b/src/mapgen.h
@@ -178,7 +178,7 @@ public:
static const char *ELEMENT_TITLE;
static const size_t ELEMENT_LIMIT = -1;
- GenElementManager() {}
+ GenElementManager(IGameDef *gamedef);
virtual ~GenElementManager();
virtual GenElement *create(int type) = 0;
@@ -192,6 +192,7 @@ public:
virtual GenElement *getByName(const std::string &name);
protected:
+ NodeResolver *m_resolver;
std::vector<GenElement *> m_elements;
};