From a3594f22c29f046ecb756b560da7fd5931dea970 Mon Sep 17 00:00:00 2001 From: 12xx12 <44411062+12xx12@users.noreply.github.com> Date: Sun, 9 Aug 2020 23:57:48 +0200 Subject: [PATCH] Update FinishGen.cpp --- src/Generating/FinishGen.cpp | 1 - 1 file changed, 1 deletion(-) 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)