aboutsummaryrefslogtreecommitdiff
path: root/src/mg_biome.cpp
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2014-12-12 14:07:49 -0500
committerkwolekr <kwolekr@minetest.net>2014-12-12 14:08:04 -0500
commitcf8213ea827f38ae5d4b8ef16c396545e3e59657 (patch)
treee739591704b1776002baa1bde7a4ff86de5f06ad /src/mg_biome.cpp
parentcec141adc1fd0845e27df9b0c88d979dd765e76f (diff)
downloadminetest-cf8213ea827f38ae5d4b8ef16c396545e3e59657.tar.gz
minetest-cf8213ea827f38ae5d4b8ef16c396545e3e59657.tar.bz2
minetest-cf8213ea827f38ae5d4b8ef16c396545e3e59657.zip
Add minetest.clear_registered_decorations() and clear_registered_ores()
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;