X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;ds=sidebyside;f=src%2Fworld%2FGenerator.cpp;h=c8621e75e42bc907d8656b1be33370a0b63ae2c2;hb=551573ecb04969696f916aeb5485658e298a7f6b;hp=c49dce17bf153d15bdc7dd12360254b2d86d137a;hpb=b7d09e1e35ef90282c97509e0020b20db3c7ea9f;p=blank.git diff --git a/src/world/Generator.cpp b/src/world/Generator.cpp index c49dce1..c8621e7 100644 --- a/src/world/Generator.cpp +++ b/src/world/Generator.cpp @@ -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(); } }