summaryrefslogtreecommitdiffstats
path: root/src/ChunkSender.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ChunkSender.cpp')
-rw-r--r--src/ChunkSender.cpp17
1 files changed, 14 insertions, 3 deletions
diff --git a/src/ChunkSender.cpp b/src/ChunkSender.cpp
index de886b497..674291c73 100644
--- a/src/ChunkSender.cpp
+++ b/src/ChunkSender.cpp
@@ -23,7 +23,7 @@
// cNotifyChunkSender:
-/// Callback that can be used to notify chunk sender upon another chunkcoord notification
+/** Callback that can be used to notify chunk sender upon another chunkcoord notification */
class cNotifyChunkSender :
public cChunkCoordCallback
{
@@ -43,11 +43,22 @@ class cNotifyChunkSender :
cChunkSender & m_ChunkSender;
cWorld & m_World;
+
public:
- cNotifyChunkSender(cChunkSender & a_ChunkSender, cWorld & a_World) : m_ChunkSender(a_ChunkSender), m_World(a_World) {}
+ cNotifyChunkSender(cChunkSender & a_ChunkSender, cWorld & a_World):
+ m_ChunkSender(a_ChunkSender),
+ m_World(a_World)
+ {
+ }
+};
-};
+
+
+
+
+////////////////////////////////////////////////////////////////////////////////
+// cChunkSender:
cChunkSender::cChunkSender(cWorld & a_World) :
super("ChunkSender"),