Update FinishGen.cpp
This commit is contained in:
parent
ec3de19c4e
commit
a3594f22c2
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user