aboutsummaryrefslogtreecommitdiff
path: root/src/mg_ore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mg_ore.cpp')
-rw-r--r--src/mg_ore.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mg_ore.cpp b/src/mg_ore.cpp
index 1aac59ddb..d94b861c2 100644
--- a/src/mg_ore.cpp
+++ b/src/mg_ore.cpp
@@ -57,6 +57,13 @@ size_t OreManager::placeAllOres(Mapgen *mg, u32 seed, v3s16 nmin, v3s16 nmax)
///////////////////////////////////////////////////////////////////////////////
+Ore::Ore()
+{
+ flags = 0;
+ noise = NULL;
+}
+
+
size_t Ore::placeOre(Mapgen *mg, u32 blockseed, v3s16 nmin, v3s16 nmax)
{
int in_range = 0;