Place dirt under generated trees

This commit is contained in:
Big Titted Goth Neko 2024-09-05 06:29:35 +01:00
parent caaa89dd2b
commit 786632f936

View File

@ -809,9 +809,13 @@ int TreeGen_Grow(int treeX, int treeY, int treeZ, int height, IVec3* coords, Blo
}
}
/* then place trunk */
/* place trunk */
for (y = 0; y < height - 1; y++) {
TreeGen_Place(treeX, treeY + y, treeZ, BLOCK_LOG);
}
/* then place dirt */
TreeGen_Place(treeX, treeY - 1, treeZ, BLOCK_DIRT);
return count;
}