| 312 | |
| 313 | |
| 314 | cChunk * cChunkMap::FindChunk(int a_ChunkX, int a_ChunkZ) |
| 315 | { |
| 316 | ASSERT(m_CSLayers.IsLockedByCurrentThread()); |
| 317 | |
| 318 | cChunkLayer * Layer = FindLayerForChunk(a_ChunkX, a_ChunkZ); |
| 319 | if (Layer == NULL) |
| 320 | { |
| 321 | return NULL; |
| 322 | } |
| 323 | return Layer->FindChunk(a_ChunkX, a_ChunkZ); |
| 324 | } |
| 325 | |
| 326 | |
| 327 |
no test coverage detected