diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-02-28 13:37:46 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-02-28 13:37:46 +0100 |
commit | 0f88ed7c72e45d7cec61874b97bba1ab60c1f084 (patch) | |
tree | 37a7ab206d2d1a93c30a111b8779bd442906a08b /source | |
parent | Chunk now has an indicator of load failure; Chunk generator uses cChunkStay (diff) | |
download | cuberite-0f88ed7c72e45d7cec61874b97bba1ab60c1f084.tar cuberite-0f88ed7c72e45d7cec61874b97bba1ab60c1f084.tar.gz cuberite-0f88ed7c72e45d7cec61874b97bba1ab60c1f084.tar.bz2 cuberite-0f88ed7c72e45d7cec61874b97bba1ab60c1f084.tar.lz cuberite-0f88ed7c72e45d7cec61874b97bba1ab60c1f084.tar.xz cuberite-0f88ed7c72e45d7cec61874b97bba1ab60c1f084.tar.zst cuberite-0f88ed7c72e45d7cec61874b97bba1ab60c1f084.zip |
Diffstat (limited to 'source')
-rw-r--r-- | source/cChunkMap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cChunkMap.cpp b/source/cChunkMap.cpp index 0485df1eb..0f0cc03a4 100644 --- a/source/cChunkMap.cpp +++ b/source/cChunkMap.cpp @@ -1101,7 +1101,7 @@ void cChunkStay::Remove(int a_ChunkX, int a_ChunkY, int a_ChunkZ) {
ASSERT(!m_IsEnabled);
- for (cChunkCoordsList::const_iterator itr = m_Chunks.begin(); itr != m_Chunks.end(); ++itr)
+ for (cChunkCoordsList::iterator itr = m_Chunks.begin(); itr != m_Chunks.end(); ++itr)
{
if ((itr->m_ChunkX == a_ChunkX) && (itr->m_ChunkY == a_ChunkY) && (itr->m_ChunkZ == a_ChunkZ))
{
|