summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-07-30 21:42:48 +0200
committerSTRWarrior <niels.breuker@hotmail.nl>2014-07-30 21:42:48 +0200
commitfd2d338a252a4c230e54e25a8695d7084a924bbe (patch)
tree90b7fee58a2934e314ea99ef015bc425bf68fc39 /src
parentFixed compiling using Clang (diff)
downloadcuberite-fd2d338a252a4c230e54e25a8695d7084a924bbe.tar
cuberite-fd2d338a252a4c230e54e25a8695d7084a924bbe.tar.gz
cuberite-fd2d338a252a4c230e54e25a8695d7084a924bbe.tar.bz2
cuberite-fd2d338a252a4c230e54e25a8695d7084a924bbe.tar.lz
cuberite-fd2d338a252a4c230e54e25a8695d7084a924bbe.tar.xz
cuberite-fd2d338a252a4c230e54e25a8695d7084a924bbe.tar.zst
cuberite-fd2d338a252a4c230e54e25a8695d7084a924bbe.zip
Diffstat (limited to 'src')
-rw-r--r--src/Generating/Trees.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Generating/Trees.cpp b/src/Generating/Trees.cpp
index fb46a5e3b..308947ad0 100644
--- a/src/Generating/Trees.cpp
+++ b/src/Generating/Trees.cpp
@@ -863,7 +863,7 @@ void GetRoofedForestTreeImage(int a_BlockX, int a_BlockY, int a_BlockZ, cNoise &
PushCoordBlocks(a_BlockX, hei, a_BlockZ, a_OtherBlocks, BigO4, ARRAYCOUNT(BigO4), E_BLOCK_NEW_LEAVES, E_META_NEW_LEAVES_DARK_OAK_WOOD);
PushCornerBlocks(a_BlockX, hei, a_BlockZ, a_Seq, a_Noise, 0x5fffffff, a_OtherBlocks, 3, E_BLOCK_NEW_LEAVES, E_META_NEW_LEAVES_DARK_OAK_WOOD);
hei++;
- } // for i - 2*
+ } // for i < 2
// The top leaves layer is a BigO3 with leaves in the middle and possibly corners:
PushCoordBlocks(a_BlockX, hei, a_BlockZ, a_OtherBlocks, BigO3, ARRAYCOUNT(BigO3), E_BLOCK_NEW_LEAVES, E_META_NEW_LEAVES_DARK_OAK_WOOD);