diff options
author | sfan5 <sfan5@live.de> | 2021-03-06 14:11:45 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2021-03-06 14:21:08 +0100 |
commit | 1c7b69f9cf40a1395e851b1874ecad31e0e4147a (patch) | |
tree | 8256e3311a1cd51af49e1a3e1f87b5fb9dc585fa /src | |
parent | abb0c99a6c5ab38637d1370449ec072c7caa8803 (diff) | |
download | minetest-1c7b69f9cf40a1395e851b1874ecad31e0e4147a.tar.gz minetest-1c7b69f9cf40a1395e851b1874ecad31e0e4147a.tar.bz2 minetest-1c7b69f9cf40a1395e851b1874ecad31e0e4147a.zip |
Fix function override warnings in mg_ore.h
Diffstat (limited to 'src')
-rw-r--r-- | src/mapgen/mg_ore.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mapgen/mg_ore.h b/src/mapgen/mg_ore.h index a58fa9bfe..a757fa6d0 100644 --- a/src/mapgen/mg_ore.h +++ b/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 @@ public: class OrePuff : public Ore { public: - ObjDef *clone() const; + ObjDef *clone() const override; NoiseParams np_puff_top; NoiseParams np_puff_bottom; @@ -123,7 +123,7 @@ public: 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 @@ public: class OreVein : public Ore { public: - ObjDef *clone() const; + ObjDef *clone() const override; float random_factor; Noise *noise2 = nullptr; @@ -147,7 +147,7 @@ public: class OreStratum : public Ore { public: - ObjDef *clone() const; + ObjDef *clone() const override; NoiseParams np_stratum_thickness; Noise *noise_stratum_thickness = nullptr; |