diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-10-23 21:19:43 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-10-23 21:19:43 +0200 |
commit | 9af58a81d6467829b72801169c8e80a2bab01804 (patch) | |
tree | 454cee2b4b47387ba19e7537de3d5d699be7f9fe /src/ClientHandle.cpp | |
parent | Merge branch 'master' into ChunkLoader (diff) | |
download | cuberite-9af58a81d6467829b72801169c8e80a2bab01804.tar cuberite-9af58a81d6467829b72801169c8e80a2bab01804.tar.gz cuberite-9af58a81d6467829b72801169c8e80a2bab01804.tar.bz2 cuberite-9af58a81d6467829b72801169c8e80a2bab01804.tar.lz cuberite-9af58a81d6467829b72801169c8e80a2bab01804.tar.xz cuberite-9af58a81d6467829b72801169c8e80a2bab01804.tar.zst cuberite-9af58a81d6467829b72801169c8e80a2bab01804.zip |
Diffstat (limited to 'src/ClientHandle.cpp')
-rw-r--r-- | src/ClientHandle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp index dc360861e..faee05450 100644 --- a/src/ClientHandle.cpp +++ b/src/ClientHandle.cpp @@ -463,7 +463,7 @@ bool cClientHandle::StreamNextChunk(void) // Unloaded chunk found -> Send it to the client. Lock.Unlock(); - StreamChunk(ChunkX, ChunkZ, cChunkSender::E_CHUNK_PRIORITY_HIGH); + StreamChunk(ChunkX, ChunkZ, ((Range <= 2) ? cChunkSender::E_CHUNK_PRIORITY_HIGH : cChunkSender::E_CHUNK_PRIORITY_MEDIUM)); return false; } } |