summaryrefslogtreecommitdiffstats
path: root/src/LineBlockTracer.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-01-07 16:00:19 +0100
committermadmaxoft <github@xoft.cz>2014-01-07 17:07:49 +0100
commit39a1bcdea0a5897a7090748529e3b903918882ec (patch)
treebc8e5421a6365b56746284b0eb2732e7a4fca333 /src/LineBlockTracer.cpp
parentLuaState can push strings with embedded NULs. (diff)
downloadcuberite-39a1bcdea0a5897a7090748529e3b903918882ec.tar
cuberite-39a1bcdea0a5897a7090748529e3b903918882ec.tar.gz
cuberite-39a1bcdea0a5897a7090748529e3b903918882ec.tar.bz2
cuberite-39a1bcdea0a5897a7090748529e3b903918882ec.tar.lz
cuberite-39a1bcdea0a5897a7090748529e3b903918882ec.tar.xz
cuberite-39a1bcdea0a5897a7090748529e3b903918882ec.tar.zst
cuberite-39a1bcdea0a5897a7090748529e3b903918882ec.zip
Diffstat (limited to '')
-rw-r--r--src/LineBlockTracer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LineBlockTracer.cpp b/src/LineBlockTracer.cpp
index 110c6b5dc..da1c7f2fd 100644
--- a/src/LineBlockTracer.cpp
+++ b/src/LineBlockTracer.cpp
@@ -196,7 +196,7 @@ bool cLineBlockTracer::Item(cChunk * a_Chunk)
ASSERT((m_CurrentY >= 0) && (m_CurrentY < cChunkDef::Height)); // This should be provided by FixStartAboveWorld() / FixStartBelowWorld()
// This is the actual line tracing loop.
- while (true)
+ for (;;)
{
// Report the current block through the callbacks:
if (a_Chunk == NULL)