]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/mg_biome.h
Cpp11 patchset 11: continue working on constructor style migration (#6004)
[dragonfireclient.git] / src / mg_biome.h
index 2e07fd9cfad1a00fe3da87b4724b6dbea66bee59..854ada5048b30c2cb663c9fb8503ed60e616f770 100644 (file)
@@ -117,10 +117,10 @@ class BiomeGen {
        virtual Biome *getBiomeAtIndex(size_t index, s16 y) const = 0;
 
        // Result of calcBiomes bulk computation.
-       biome_t *biomemap;
+       biome_t *biomemap = nullptr;
 
 protected:
-       BiomeManager *m_bmgr;
+       BiomeManager *m_bmgr = nullptr;
        v3s16 m_pmin;
        v3s16 m_csize;
 };