summaryrefslogtreecommitdiffstats
path: root/src/Generating/FinishGen.cpp
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2015-04-19 19:59:27 +0200
committerSTRWarrior <niels.breuker@hotmail.nl>2015-04-19 19:59:27 +0200
commitf1558c6015ab09abe35373af23b59a1c5a58e737 (patch)
treecc56e97ea6eb3d7d557f32fe93bee1f2dffaedfa /src/Generating/FinishGen.cpp
parentAdded GlowStone finisher (diff)
downloadcuberite-f1558c6015ab09abe35373af23b59a1c5a58e737.tar
cuberite-f1558c6015ab09abe35373af23b59a1c5a58e737.tar.gz
cuberite-f1558c6015ab09abe35373af23b59a1c5a58e737.tar.bz2
cuberite-f1558c6015ab09abe35373af23b59a1c5a58e737.tar.lz
cuberite-f1558c6015ab09abe35373af23b59a1c5a58e737.tar.xz
cuberite-f1558c6015ab09abe35373af23b59a1c5a58e737.tar.zst
cuberite-f1558c6015ab09abe35373af23b59a1c5a58e737.zip
Diffstat (limited to '')
-rw-r--r--src/Generating/FinishGen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Generating/FinishGen.cpp b/src/Generating/FinishGen.cpp
index 2a71f7629..7541c8598 100644
--- a/src/Generating/FinishGen.cpp
+++ b/src/Generating/FinishGen.cpp
@@ -239,7 +239,7 @@ void cFinishGenGlowStone::TryPlaceGlowstone(cChunkDesc & a_ChunkDesc, int a_RelX
const Vector3i AvailableDirections[] =
{
{ -1, 0, 0 }, { 1, 0, 0 },
- { 0, -1, 0 }, // Don't let the glowstone go up
+ { 0, -1, 0 }, // Don't let the glowstone go up
{ 0, 0, -1 }, { 0, 0, 1 },
// Diagonal direction. Only X or Z with Y.
@@ -261,7 +261,7 @@ void cFinishGenGlowStone::TryPlaceGlowstone(cChunkDesc & a_ChunkDesc, int a_RelX
for (int j = 0; j < a_Size; j++)
{
Vector3i Direction = AvailableDirections[m_Noise.IntNoise3DInt(CurrentPos.x, CurrentPos.y * i, CurrentPos.z) % ARRAYCOUNT(AvailableDirections)];
- int Attempts = 2; // multiply by 1 would make no difference, so multiply by 2 instead
+ int Attempts = 2; // multiply by 1 would make no difference, so multiply by 2 instead
while (Direction.Equals(PreviousDirection))
{