summaryrefslogtreecommitdiffstats
path: root/src/World.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-10-23 22:49:17 +0200
committerMattes D <github@xoft.cz>2014-10-23 22:49:17 +0200
commit4df924cf4b774b68fc7cc6b144e82e47c9fe4444 (patch)
tree454cee2b4b47387ba19e7537de3d5d699be7f9fe /src/World.h
parentFixed a crash in redstone simulator. (diff)
parentUse 3 priorities. (diff)
downloadcuberite-4df924cf4b774b68fc7cc6b144e82e47c9fe4444.tar
cuberite-4df924cf4b774b68fc7cc6b144e82e47c9fe4444.tar.gz
cuberite-4df924cf4b774b68fc7cc6b144e82e47c9fe4444.tar.bz2
cuberite-4df924cf4b774b68fc7cc6b144e82e47c9fe4444.tar.lz
cuberite-4df924cf4b774b68fc7cc6b144e82e47c9fe4444.tar.xz
cuberite-4df924cf4b774b68fc7cc6b144e82e47c9fe4444.tar.zst
cuberite-4df924cf4b774b68fc7cc6b144e82e47c9fe4444.zip
Diffstat (limited to 'src/World.h')
-rw-r--r--src/World.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/World.h b/src/World.h
index d5f1994a5..ec6dcadde 100644
--- a/src/World.h
+++ b/src/World.h
@@ -359,12 +359,12 @@ public:
/** Sends the chunk to the client specified, if the client doesn't have the chunk yet.
If chunk not valid, the request is postponed (ChunkSender will send that chunk when it becomes valid + lighted). */
- void SendChunkTo(int a_ChunkX, int a_ChunkZ, cClientHandle * a_Client);
+ void SendChunkTo(int a_ChunkX, int a_ChunkZ, cChunkSender::eChunkPriority a_Priority, cClientHandle * a_Client);
/** Sends the chunk to the client specified, even if the client already has the chunk.
If the chunk's not valid, the request is postponed (ChunkSender will send that chunk when it becomes valid + lighted). */
- void ForceSendChunkTo(int a_ChunkX, int a_ChunkZ, cClientHandle * a_Client);
-
+ void ForceSendChunkTo(int a_ChunkX, int a_ChunkZ, cChunkSender::eChunkPriority a_Priority, cClientHandle * a_Client);
+
/** Removes client from ChunkSender's queue of chunks to be sent */
void RemoveClientFromChunkSender(cClientHandle * a_Client);