diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-09-12 21:43:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-12 21:43:18 +0200 |
commit | 198407807f1241ea2b06179bcc036f9373c7258e (patch) | |
tree | f0e4f690aaa1d35fa43115c8aa102b7f127ee70a /src/World.cpp | |
parent | Use tracing for explosions (#4845) (diff) | |
download | cuberite-198407807f1241ea2b06179bcc036f9373c7258e.tar cuberite-198407807f1241ea2b06179bcc036f9373c7258e.tar.gz cuberite-198407807f1241ea2b06179bcc036f9373c7258e.tar.bz2 cuberite-198407807f1241ea2b06179bcc036f9373c7258e.tar.lz cuberite-198407807f1241ea2b06179bcc036f9373c7258e.tar.xz cuberite-198407807f1241ea2b06179bcc036f9373c7258e.tar.zst cuberite-198407807f1241ea2b06179bcc036f9373c7258e.zip |
Diffstat (limited to 'src/World.cpp')
-rw-r--r-- | src/World.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/World.cpp b/src/World.cpp index d99c9c607..b1f2a29df 100644 --- a/src/World.cpp +++ b/src/World.cpp @@ -2331,7 +2331,7 @@ void cWorld::SetChunkData(cSetChunkData & a_SetChunkData) ChunkSender.QueueSendChunkTo( a_Chunk.GetPosX(), a_Chunk.GetPosZ(), - cChunkSender::E_CHUNK_PRIORITY_MEDIUM, + cChunkSender::Priority::Medium, a_Chunk.GetAllClients() ); } @@ -2803,7 +2803,7 @@ void cWorld::RemoveClientFromChunks(cClientHandle * a_Client) -void cWorld::SendChunkTo(int a_ChunkX, int a_ChunkZ, cChunkSender::eChunkPriority a_Priority, cClientHandle * a_Client) +void cWorld::SendChunkTo(int a_ChunkX, int a_ChunkZ, cChunkSender::Priority a_Priority, cClientHandle * a_Client) { m_ChunkSender.QueueSendChunkTo(a_ChunkX, a_ChunkZ, a_Priority, a_Client); } @@ -2812,7 +2812,7 @@ void cWorld::SendChunkTo(int a_ChunkX, int a_ChunkZ, cChunkSender::eChunkPriorit -void cWorld::ForceSendChunkTo(int a_ChunkX, int a_ChunkZ, cChunkSender::eChunkPriority a_Priority, cClientHandle * a_Client) +void cWorld::ForceSendChunkTo(int a_ChunkX, int a_ChunkZ, cChunkSender::Priority a_Priority, cClientHandle * a_Client) { a_Client->AddWantedChunk(a_ChunkX, a_ChunkZ); m_ChunkSender.QueueSendChunkTo(a_ChunkX, a_ChunkZ, a_Priority, a_Client); |