diff options
-rw-r--r-- | src/mg_ore.cpp | 6 | ||||
-rw-r--r-- | src/mg_ore.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/mg_ore.cpp b/src/mg_ore.cpp index dfcb1a1d9..c62f05860 100644 --- a/src/mg_ore.cpp +++ b/src/mg_ore.cpp @@ -263,6 +263,12 @@ void OreBlob::generate(MMVManip *vm, int mapseed, u32 blockseed, /////////////////////////////////////////////////////////////////////////////// +OreVein::OreVein() +{ + noise2 = NULL; +} + + OreVein::~OreVein() { delete noise2; diff --git a/src/mg_ore.h b/src/mg_ore.h index ea713cfcc..67ca9a849 100644 --- a/src/mg_ore.h +++ b/src/mg_ore.h @@ -105,6 +105,7 @@ public: float random_factor; Noise *noise2; + OreVein(); virtual ~OreVein(); virtual void generate(MMVManip *vm, int mapseed, u32 blockseed, |