summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-02-08 22:01:04 +0100
committermadmaxoft <github@xoft.cz>2014-02-08 22:01:04 +0100
commita4bf44858dd1dc0c986cc1ed18cf8c37487207ff (patch)
tree34ebc93c621608fb8fffb6f317cb8367e87c2826 /src
parentInitial ChunkStay code. (diff)
downloadcuberite-a4bf44858dd1dc0c986cc1ed18cf8c37487207ff.tar
cuberite-a4bf44858dd1dc0c986cc1ed18cf8c37487207ff.tar.gz
cuberite-a4bf44858dd1dc0c986cc1ed18cf8c37487207ff.tar.bz2
cuberite-a4bf44858dd1dc0c986cc1ed18cf8c37487207ff.tar.lz
cuberite-a4bf44858dd1dc0c986cc1ed18cf8c37487207ff.tar.xz
cuberite-a4bf44858dd1dc0c986cc1ed18cf8c37487207ff.tar.zst
cuberite-a4bf44858dd1dc0c986cc1ed18cf8c37487207ff.zip
Diffstat (limited to 'src')
-rw-r--r--src/ChunkStay.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ChunkStay.cpp b/src/ChunkStay.cpp
index a64a2a3e4..e86501c4e 100644
--- a/src/ChunkStay.cpp
+++ b/src/ChunkStay.cpp
@@ -109,7 +109,7 @@ void cChunkStay::ChunkAvailable(int a_ChunkX, int a_ChunkZ)
{
// Check if this is a chunk that we want:
bool IsMine = false;
- for (cChunkCoordsVector::const_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))
{