diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-06-12 19:56:48 +0200 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-06-12 19:56:48 +0200 |
commit | c82f4f6309f760186c43b4f32596c3e78a5725b7 (patch) | |
tree | 6aa16d752970f2d2ba2f6f5877a0db2f3ae70fae /src/Chunk.cpp | |
parent | Removed unnessicary indirection from Entity iterator list (diff) | |
download | cuberite-c82f4f6309f760186c43b4f32596c3e78a5725b7.tar cuberite-c82f4f6309f760186c43b4f32596c3e78a5725b7.tar.gz cuberite-c82f4f6309f760186c43b4f32596c3e78a5725b7.tar.bz2 cuberite-c82f4f6309f760186c43b4f32596c3e78a5725b7.tar.lz cuberite-c82f4f6309f760186c43b4f32596c3e78a5725b7.tar.xz cuberite-c82f4f6309f760186c43b4f32596c3e78a5725b7.tar.zst cuberite-c82f4f6309f760186c43b4f32596c3e78a5725b7.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Chunk.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Chunk.cpp b/src/Chunk.cpp index 7ca0a4afd..8255fdcaf 100644 --- a/src/Chunk.cpp +++ b/src/Chunk.cpp @@ -71,6 +71,7 @@ cChunk::cChunk( m_IsDirty(false), m_IsSaving(false), m_HasLoadFailed(false), + m_EntityTickIteratorData(std::make_pair(false, m_Entities.end())), m_StayCount(0), m_PosX(a_ChunkX), m_PosY(a_ChunkY), @@ -85,8 +86,7 @@ cChunk::cChunk( m_NeighborZM(a_NeighborZM), m_NeighborZP(a_NeighborZP), m_WaterSimulatorData(a_World->GetWaterSimulator()->CreateChunkData()), - m_LavaSimulatorData (a_World->GetLavaSimulator ()->CreateChunkData()), - m_EntityTickIteratorData(std::make_pair(false, m_Entities.end())) + m_LavaSimulatorData (a_World->GetLavaSimulator ()->CreateChunkData()) { if (a_NeighborXM != NULL) { |