diff options
author | 12xx12 <44411062+12xx12@users.noreply.github.com> | 2020-11-02 16:44:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-02 16:44:02 +0100 |
commit | 177cf041db6c8cab5d8a7dd512f8f41b17b1e281 (patch) | |
tree | a031aededdd8b5126752771f8f7cacc8666bd900 /src/ChunkMap.cpp | |
parent | Corrected type for param Pos on spawn enter crystal (#5012) (diff) | |
download | cuberite-177cf041db6c8cab5d8a7dd512f8f41b17b1e281.tar cuberite-177cf041db6c8cab5d8a7dd512f8f41b17b1e281.tar.gz cuberite-177cf041db6c8cab5d8a7dd512f8f41b17b1e281.tar.bz2 cuberite-177cf041db6c8cab5d8a7dd512f8f41b17b1e281.tar.lz cuberite-177cf041db6c8cab5d8a7dd512f8f41b17b1e281.tar.xz cuberite-177cf041db6c8cab5d8a7dd512f8f41b17b1e281.tar.zst cuberite-177cf041db6c8cab5d8a7dd512f8f41b17b1e281.zip |
Diffstat (limited to '')
-rw-r--r-- | src/ChunkMap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ChunkMap.cpp b/src/ChunkMap.cpp index 53bb905a6..46fafd480 100644 --- a/src/ChunkMap.cpp +++ b/src/ChunkMap.cpp @@ -93,7 +93,7 @@ cChunk * cChunkMap::FindChunk(int a_ChunkX, int a_ChunkZ) { ASSERT(m_CSChunks.IsLockedByCurrentThread()); - auto Chunk = m_Chunks.find({ a_ChunkX, a_ChunkZ }); + const auto Chunk = m_Chunks.find({ a_ChunkX, a_ChunkZ }); return (Chunk == m_Chunks.end()) ? nullptr : &Chunk->second; } |