]> git.localhorst.tv Git - blank.git/blobdiff - src/world/Generator.cpp
save and load chunk data
[blank.git] / src / world / Generator.cpp
index c49dce17bf153d15bdc7dd12360254b2d86d137a..c8621e75e42bc907d8656b1be33370a0b63ae2c2 100644 (file)
@@ -9,8 +9,8 @@
 namespace blank {
 
 Generator::Generator(const Config &config) noexcept
-: solidNoise(config.solid_seed)
-, typeNoise(config.type_seed)
+: solidNoise(config.seed)
+, typeNoise(config.seed)
 , stretch(1.0f/config.stretch)
 , solid_threshold(config.solid_threshold)
 , space(0)
@@ -47,8 +47,7 @@ void Generator::operator ()(Chunk &chunk) const noexcept {
                        }
                }
        }
-       chunk.Invalidate();
-       chunk.CheckUpdate();
+       //chunk.CheckUpdate();
 }
 
 }