diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-10-06 21:27:53 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-10-06 21:27:53 +0200 |
commit | b493beb3bbac05d0402a6e388a61bf446c6c00ff (patch) | |
tree | f8ded1c4d42bbd398285c78016d5139d9c5ef56c /src/World.h | |
parent | Merge branch 'master' into ChunkLoader (diff) | |
download | cuberite-b493beb3bbac05d0402a6e388a61bf446c6c00ff.tar cuberite-b493beb3bbac05d0402a6e388a61bf446c6c00ff.tar.gz cuberite-b493beb3bbac05d0402a6e388a61bf446c6c00ff.tar.bz2 cuberite-b493beb3bbac05d0402a6e388a61bf446c6c00ff.tar.lz cuberite-b493beb3bbac05d0402a6e388a61bf446c6c00ff.tar.xz cuberite-b493beb3bbac05d0402a6e388a61bf446c6c00ff.tar.zst cuberite-b493beb3bbac05d0402a6e388a61bf446c6c00ff.zip |
Diffstat (limited to 'src/World.h')
-rw-r--r-- | src/World.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/World.h b/src/World.h index 90dada259..f940a98c4 100644 --- a/src/World.h +++ b/src/World.h @@ -359,11 +359,11 @@ 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); |