| 1542 | |
| 1543 | |
| 1544 | void cChunkMap::CompareChunkClients(int a_ChunkX1, int a_ChunkZ1, int a_ChunkX2, int a_ChunkZ2, cClientDiffCallback & a_Callback) |
| 1545 | { |
| 1546 | cCSLock Lock(m_CSLayers); |
| 1547 | cChunkPtr Chunk1 = GetChunkNoGen(a_ChunkX1, ZERO_CHUNK_Y, a_ChunkZ1); |
| 1548 | if (Chunk1 == NULL) |
| 1549 | { |
| 1550 | return; |
| 1551 | } |
| 1552 | cChunkPtr Chunk2 = GetChunkNoGen(a_ChunkX2, ZERO_CHUNK_Y, a_ChunkZ2); |
| 1553 | if (Chunk2 == NULL) |
| 1554 | { |
| 1555 | return; |
| 1556 | } |
| 1557 | |
| 1558 | CompareChunkClients(Chunk1, Chunk2, a_Callback); |
| 1559 | } |
| 1560 | |
| 1561 | |
| 1562 |
nothing calls this directly
no test coverage detected