summaryrefslogtreecommitdiff
path: root/src/mg_biome.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mg_biome.cpp')
-rw-r--r--src/mg_biome.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mg_biome.cpp b/src/mg_biome.cpp
index 13dc67e74..96fe443ab 100644
--- a/src/mg_biome.cpp
+++ b/src/mg_biome.cpp
@@ -32,10 +32,9 @@ const char *BiomeManager::ELEMENT_TITLE = "biome";
///////////////////////////////////////////////////////////////////////////////
-BiomeManager::BiomeManager(IGameDef *gamedef)
+BiomeManager::BiomeManager(IGameDef *gamedef) :
+ GenElementManager(gamedef)
{
- m_resolver = gamedef->getNodeDefManager()->getResolver();
-
// Create default biome to be used in case none exist
Biome *b = new Biome;