| 77 | |
| 78 | |
| 79 | void cChunkSender::ChunkReady(int a_ChunkX, int a_ChunkZ) |
| 80 | { |
| 81 | // This is probably never gonna be called twice for the same chunk, and if it is, we don't mind, so we don't check |
| 82 | { |
| 83 | cCSLock Lock(m_CS); |
| 84 | m_ChunksReady.push_back(cChunkCoords(a_ChunkX, ZERO_CHUNK_Y, a_ChunkZ)); |
| 85 | } |
| 86 | m_evtQueue.Set(); |
| 87 | } |
| 88 | |
| 89 | |
| 90 |
no test coverage detected