From dd0ce3287ffddf3fd0dd5d7af1ebda60bd871c85 Mon Sep 17 00:00:00 2001 From: LogicParrot Date: Sun, 27 Mar 2016 20:43:30 +0300 Subject: Players never fall through unloaded chunks or end up inside solids on teleport --- src/Chunk.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Chunk.cpp') 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)) ) -- cgit v1.2.3