diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-04-04 13:53:46 +0200 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-04-04 13:53:46 +0200 |
commit | b4a6edc958fbb011e2d7edda514c394e012b4721 (patch) | |
tree | a5111ba75442f299bdbb892e4adc73e9522a1f7e /src/Chunk.cpp | |
parent | Merge pull request #3118 from LogicParrot/fixWorld (diff) | |
parent | Players never fall through unloaded chunks or end up inside solids on teleport (diff) | |
download | cuberite-b4a6edc958fbb011e2d7edda514c394e012b4721.tar cuberite-b4a6edc958fbb011e2d7edda514c394e012b4721.tar.gz cuberite-b4a6edc958fbb011e2d7edda514c394e012b4721.tar.bz2 cuberite-b4a6edc958fbb011e2d7edda514c394e012b4721.tar.lz cuberite-b4a6edc958fbb011e2d7edda514c394e012b4721.tar.xz cuberite-b4a6edc958fbb011e2d7edda514c394e012b4721.tar.zst cuberite-b4a6edc958fbb011e2d7edda514c394e012b4721.zip |
Diffstat (limited to 'src/Chunk.cpp')
-rw-r--r-- | src/Chunk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Chunk.cpp b/src/Chunk.cpp index db8966a23..c1baae9b2 100644 --- a/src/Chunk.cpp +++ b/src/Chunk.cpp @@ -638,13 +638,13 @@ void cChunk::Tick(std::chrono::milliseconds a_Dt) } // Do not move mobs that are detached from the world to neighbors. They're either scheduled for teleportation or for removal. + // Because the schedulded destruction is going to look for them in this chunk. See cEntity::destroy. if (!(*itr)->IsTicking()) { ++itr; continue; } - // Because the schedulded destruction is going to look for them in this chunk. See cEntity::destroy. if ((((*itr)->GetChunkX() != m_PosX) || ((*itr)->GetChunkZ() != m_PosZ)) ) |