diff options
author | 12xx12 <44411062+12xx12@users.noreply.github.com> | 2020-08-09 23:57:48 +0200 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2020-08-10 00:05:13 +0200 |
commit | a3594f22c29f046ecb756b560da7fd5931dea970 (patch) | |
tree | a0d773e24100955058641f3f7a733c16529064ef /src | |
parent | small issues addressed in #4817 fixed because was merged to fast (diff) | |
download | cuberite-a3594f22c29f046ecb756b560da7fd5931dea970.tar cuberite-a3594f22c29f046ecb756b560da7fd5931dea970.tar.gz cuberite-a3594f22c29f046ecb756b560da7fd5931dea970.tar.bz2 cuberite-a3594f22c29f046ecb756b560da7fd5931dea970.tar.lz cuberite-a3594f22c29f046ecb756b560da7fd5931dea970.tar.xz cuberite-a3594f22c29f046ecb756b560da7fd5931dea970.tar.zst cuberite-a3594f22c29f046ecb756b560da7fd5931dea970.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/Generating/FinishGen.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Generating/FinishGen.cpp b/src/Generating/FinishGen.cpp index 25c53e563..90c3e6ea4 100644 --- a/src/Generating/FinishGen.cpp +++ b/src/Generating/FinishGen.cpp @@ -1782,7 +1782,6 @@ void cFinishGenOreNests::GenerateOre( nestRnd /= cChunkDef::Width; int BaseY = nestRnd % a_MaxHeight; nestRnd /= a_MaxHeight; - // if the NestSize is smaller then four this breaks int NestSize = a_NestSize + (nestRnd % (std::max(a_NestSize, 4) / 4)); // The actual nest size may be up to 1 / 4 larger int Num = 0; while (Num < NestSize) |