summaryrefslogtreecommitdiffstats
path: root/src/BlockArea.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-01-07 14:24:25 +0100
committermadmaxoft <github@xoft.cz>2014-01-07 14:24:25 +0100
commit934b90c121def4f6f9a7c919727cadeeca49981f (patch)
tree8ca75ec9f6f0bb3a937657e863375ac8920fc66e /src/BlockArea.cpp
parentAdded Base64Encode(). (diff)
downloadcuberite-934b90c121def4f6f9a7c919727cadeeca49981f.tar
cuberite-934b90c121def4f6f9a7c919727cadeeca49981f.tar.gz
cuberite-934b90c121def4f6f9a7c919727cadeeca49981f.tar.bz2
cuberite-934b90c121def4f6f9a7c919727cadeeca49981f.tar.lz
cuberite-934b90c121def4f6f9a7c919727cadeeca49981f.tar.xz
cuberite-934b90c121def4f6f9a7c919727cadeeca49981f.tar.zst
cuberite-934b90c121def4f6f9a7c919727cadeeca49981f.zip
Diffstat (limited to '')
-rw-r--r--src/BlockArea.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/BlockArea.cpp b/src/BlockArea.cpp
index dd8e0da31..910661f60 100644
--- a/src/BlockArea.cpp
+++ b/src/BlockArea.cpp
@@ -828,7 +828,7 @@ void cBlockArea::RelLine(int a_RelX1, int a_RelY1, int a_RelZ1, int a_RelX2, int
int yd = dy - dx / 2;
int zd = dz - dx / 2;
- while (true)
+ for (;;)
{
RelSetData(a_RelX1, a_RelY1, a_RelZ1, a_DataTypes, a_BlockType, a_BlockMeta, a_BlockLight, a_BlockSkyLight);
@@ -860,7 +860,7 @@ void cBlockArea::RelLine(int a_RelX1, int a_RelY1, int a_RelZ1, int a_RelX2, int
int xd = dx - dy / 2;
int zd = dz - dy / 2;
- while (true)
+ for (;;)
{
RelSetData(a_RelX1, a_RelY1, a_RelZ1, a_DataTypes, a_BlockType, a_BlockMeta, a_BlockLight, a_BlockSkyLight);
@@ -894,7 +894,7 @@ void cBlockArea::RelLine(int a_RelX1, int a_RelY1, int a_RelZ1, int a_RelX2, int
int xd = dx - dz / 2;
int yd = dy - dz / 2;
- while (true)
+ for (;;)
{
RelSetData(a_RelX1, a_RelY1, a_RelZ1, a_DataTypes, a_BlockType, a_BlockMeta, a_BlockLight, a_BlockSkyLight);