diff options
Diffstat (limited to '')
-rw-r--r-- | source/ChunkSender.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source/ChunkSender.h b/source/ChunkSender.h index b2ada5a09..23cce039b 100644 --- a/source/ChunkSender.h +++ b/source/ChunkSender.h @@ -77,6 +77,16 @@ protected: m_Client(a_Client)
{
}
+
+ bool operator ==(const sSendChunk & a_Other)
+ {
+ 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)
+ );
+ }
};
typedef std::list<sSendChunk> sSendChunkList;
|