| 2563 | |
| 2564 | |
| 2565 | bool cClientHandle::WantsSendChunk(int a_ChunkX, int a_ChunkY, int a_ChunkZ) |
| 2566 | { |
| 2567 | if (m_State >= csDestroying) |
| 2568 | { |
| 2569 | return false; |
| 2570 | } |
| 2571 | |
| 2572 | cCSLock Lock(m_CSChunkLists); |
| 2573 | return (std::find(m_ChunksToSend.begin(), m_ChunksToSend.end(), cChunkCoords(a_ChunkX, a_ChunkY, a_ChunkZ)) != m_ChunksToSend.end()); |
| 2574 | } |
| 2575 | |
| 2576 | |
| 2577 |
no test coverage detected