diff options
Diffstat (limited to 'src/ChunkStay.cpp')
-rw-r--r-- | src/ChunkStay.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/ChunkStay.cpp b/src/ChunkStay.cpp index 520d3cccb..738b35776 100644 --- a/src/ChunkStay.cpp +++ b/src/ChunkStay.cpp @@ -107,7 +107,8 @@ bool cChunkStay::ChunkAvailable(int a_ChunkX, int a_ChunkZ) { // Check if this is a chunk that we want: bool IsMine = false; - for (cChunkCoordsVector::iterator itr = m_OutstandingChunks.begin(), end = m_OutstandingChunks.end(); itr != end; ++itr) + for (cChunkCoordsVector::iterator itr = m_OutstandingChunks.begin(), end = m_OutstandingChunks.end(); itr != end; + ++itr) { if ((itr->m_ChunkX == a_ChunkX) && (itr->m_ChunkZ == a_ChunkZ)) { @@ -129,7 +130,3 @@ bool cChunkStay::ChunkAvailable(int a_ChunkX, int a_ChunkZ) } return false; } - - - - |