Skip to content
Permalink
Browse files

Fix function override warnings in mg_ore.h

  • Loading branch information
sfan5 committed Mar 6, 2021
1 parent abb0c99 commit 1c7b69f9cf40a1395e851b1874ecad31e0e4147a
Showing with 6 additions and 6 deletions.
  1. +6 −6 src/mapgen/mg_ore.h
@@ -85,7 +85,7 @@ class OreScatter : public Ore {
public:
OreScatter() : Ore(false) {}

ObjDef *clone() const;
ObjDef *clone() const override;

void generate(MMVManip *vm, int mapseed, u32 blockseed,
v3s16 nmin, v3s16 nmax, biome_t *biomemap) override;
@@ -95,7 +95,7 @@ class OreSheet : public Ore {
public:
OreSheet() : Ore(true) {}

ObjDef *clone() const;
ObjDef *clone() const override;

u16 column_height_min;
u16 column_height_max;
@@ -107,7 +107,7 @@ class OreSheet : public Ore {

class OrePuff : public Ore {
public:
ObjDef *clone() const;
ObjDef *clone() const override;

NoiseParams np_puff_top;
NoiseParams np_puff_bottom;
@@ -123,7 +123,7 @@ class OrePuff : public Ore {

class OreBlob : public Ore {
public:
ObjDef *clone() const;
ObjDef *clone() const override;

OreBlob() : Ore(true) {}
void generate(MMVManip *vm, int mapseed, u32 blockseed,
@@ -132,7 +132,7 @@ class OreBlob : public Ore {

class OreVein : public Ore {
public:
ObjDef *clone() const;
ObjDef *clone() const override;

float random_factor;
Noise *noise2 = nullptr;
@@ -147,7 +147,7 @@ class OreVein : public Ore {

class OreStratum : public Ore {
public:
ObjDef *clone() const;
ObjDef *clone() const override;

NoiseParams np_stratum_thickness;
Noise *noise_stratum_thickness = nullptr;

0 comments on commit 1c7b69f

Please sign in to comment.