Update FinishGen.cpp

This commit is contained in:
12xx12
2020-08-09 22:05:13 +00:00
committed by Alexander Harkness
parent ec3de19c4e
commit a3594f22c2
-1
View File
@@ -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)