Re-fixed nether fort piece count check.
This commit is contained in:
parent
475fc4b1ab
commit
6b29edc158
@ -41,9 +41,9 @@ public:
|
|||||||
int BlockY = 64;
|
int BlockY = 64;
|
||||||
|
|
||||||
// Generate pieces:
|
// Generate pieces:
|
||||||
for (int i = 0; m_Pieces.size() < (size_t)(a_MaxDepth * a_MaxDepth / 16 + a_MaxDepth); i++)
|
for (int i = 0; m_Pieces.size() < (size_t)(a_MaxDepth * a_MaxDepth / 8 + a_MaxDepth); i++)
|
||||||
{
|
{
|
||||||
cBFSPieceGenerator pg(m_ParentGen, a_Seed + 1);
|
cBFSPieceGenerator pg(m_ParentGen, a_Seed + i);
|
||||||
pg.PlacePieces(a_BlockX, BlockY, a_BlockZ, a_MaxDepth, m_Pieces);
|
pg.PlacePieces(a_BlockX, BlockY, a_BlockZ, a_MaxDepth, m_Pieces);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user