diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2015-06-10 16:16:05 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2015-06-10 16:16:05 +0200 |
commit | dd4b4150511f71c3d5a1433323d36268859f2c47 (patch) | |
tree | d98d6473566d0f0132a7afd72631abb69f68b942 /src/Chunk.cpp | |
parent | Merge pull request #2162 from lkolbly/master (diff) | |
download | cuberite-dd4b4150511f71c3d5a1433323d36268859f2c47.tar cuberite-dd4b4150511f71c3d5a1433323d36268859f2c47.tar.gz cuberite-dd4b4150511f71c3d5a1433323d36268859f2c47.tar.bz2 cuberite-dd4b4150511f71c3d5a1433323d36268859f2c47.tar.lz cuberite-dd4b4150511f71c3d5a1433323d36268859f2c47.tar.xz cuberite-dd4b4150511f71c3d5a1433323d36268859f2c47.tar.zst cuberite-dd4b4150511f71c3d5a1433323d36268859f2c47.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Chunk.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/Chunk.cpp b/src/Chunk.cpp index 2e83f2b72..39d32d48e 100644 --- a/src/Chunk.cpp +++ b/src/Chunk.cpp @@ -2852,22 +2852,6 @@ void cChunk::BroadcastBlockEntity(int a_BlockX, int a_BlockY, int a_BlockZ, cons -void cChunk::BroadcastChunkData(cChunkDataSerializer & a_Serializer, const cClientHandle * a_Exclude) -{ - for (cClientHandleList::iterator itr = m_LoadedByClient.begin(); itr != m_LoadedByClient.end(); ++itr) - { - if (*itr == a_Exclude) - { - continue; - } - (*itr)->SendChunkData(m_PosX, m_PosZ, a_Serializer); - } // for itr - LoadedByClient[] -} - - - - - void cChunk::BroadcastCollectEntity(const cEntity & a_Entity, const cPlayer & a_Player, const cClientHandle * a_Exclude) { for (cClientHandleList::iterator itr = m_LoadedByClient.begin(); itr != m_LoadedByClient.end(); ++itr) |