diff options
author | Lars <larsh@apache.org> | 2020-11-15 22:58:57 -0800 |
---|---|---|
committer | lhofhansl <larsh@apache.org> | 2020-11-26 20:31:20 -0800 |
commit | f1d72d212a0661588be27003069abf4bd8092e55 (patch) | |
tree | 86de402f9f11ab96af7b6d37ebbfe3c539226487 /src/mapgen/mapgen_v6.cpp | |
parent | 9bb381ebd387cd783da8d582949bf284a29d9b3a (diff) | |
download | minetest-f1d72d212a0661588be27003069abf4bd8092e55.tar.gz minetest-f1d72d212a0661588be27003069abf4bd8092e55.tar.bz2 minetest-f1d72d212a0661588be27003069abf4bd8092e55.zip |
Avoid generating the same chunk more than once with multiple emerge threads.
Diffstat (limited to 'src/mapgen/mapgen_v6.cpp')
-rw-r--r-- | src/mapgen/mapgen_v6.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mapgen/mapgen_v6.cpp b/src/mapgen/mapgen_v6.cpp index 90a52e031..e04180f96 100644 --- a/src/mapgen/mapgen_v6.cpp +++ b/src/mapgen/mapgen_v6.cpp @@ -512,12 +512,6 @@ void MapgenV6::makeChunk(BlockMakeData *data) // Pre-conditions assert(data->vmanip); assert(data->nodedef); - assert(data->blockpos_requested.X >= data->blockpos_min.X && - data->blockpos_requested.Y >= data->blockpos_min.Y && - data->blockpos_requested.Z >= data->blockpos_min.Z); - assert(data->blockpos_requested.X <= data->blockpos_max.X && - data->blockpos_requested.Y <= data->blockpos_max.Y && - data->blockpos_requested.Z <= data->blockpos_max.Z); this->generating = true; this->vm = data->vmanip; |