1
0

Use 3 priorities.

This commit is contained in:
Howaner
2014-10-23 21:19:43 +02:00
parent 72bb299a4a
commit 9af58a81d6
4 changed files with 45 additions and 7 deletions

View File

@@ -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;
}
}