summaryrefslogtreecommitdiffstats
path: root/src/ChunkSender.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-09-03 21:47:00 +0200
committerMattes D <github@xoft.cz>2014-09-03 21:47:00 +0200
commitc140ba2367bd36bbf56dfd0fdbdb2dbb0d3daa66 (patch)
tree7999d8162d8b390b7bc94831a52f36c8f9743b1f /src/ChunkSender.h
parentAnvil: switched inflate to stream mode. (diff)
parentcommit (diff)
downloadcuberite-c140ba2367bd36bbf56dfd0fdbdb2dbb0d3daa66.tar
cuberite-c140ba2367bd36bbf56dfd0fdbdb2dbb0d3daa66.tar.gz
cuberite-c140ba2367bd36bbf56dfd0fdbdb2dbb0d3daa66.tar.bz2
cuberite-c140ba2367bd36bbf56dfd0fdbdb2dbb0d3daa66.tar.lz
cuberite-c140ba2367bd36bbf56dfd0fdbdb2dbb0d3daa66.tar.xz
cuberite-c140ba2367bd36bbf56dfd0fdbdb2dbb0d3daa66.tar.zst
cuberite-c140ba2367bd36bbf56dfd0fdbdb2dbb0d3daa66.zip
Diffstat (limited to 'src/ChunkSender.h')
-rw-r--r--src/ChunkSender.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/ChunkSender.h b/src/ChunkSender.h
index 624a3a0bd..a0e9087a9 100644
--- a/src/ChunkSender.h
+++ b/src/ChunkSender.h
@@ -95,13 +95,11 @@ protected:
struct sSendChunk
{
int m_ChunkX;
- int m_ChunkY;
int m_ChunkZ;
cClientHandle * m_Client;
- sSendChunk(int a_ChunkX, int a_ChunkY, int a_ChunkZ, cClientHandle * a_Client) :
+ sSendChunk(int a_ChunkX, int a_ChunkZ, cClientHandle * a_Client) :
m_ChunkX(a_ChunkX),
- m_ChunkY(a_ChunkY),
m_ChunkZ(a_ChunkZ),
m_Client(a_Client)
{
@@ -111,7 +109,6 @@ protected:
{
return (
(a_Other.m_ChunkX == m_ChunkX) &&
- (a_Other.m_ChunkY == m_ChunkY) &&
(a_Other.m_ChunkZ == m_ChunkZ) &&
(a_Other.m_Client == m_Client)
);
@@ -162,7 +159,7 @@ protected:
virtual void BlockEntity (cBlockEntity * a_Entity) override;
/// Sends the specified chunk to a_Client, or to all chunk clients if a_Client == NULL
- void SendChunk(int a_ChunkX, int a_ChunkY, int a_ChunkZ, cClientHandle * a_Client);
+ void SendChunk(int a_ChunkX, int a_ChunkZ, cClientHandle * a_Client);
} ;