diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-12-17 00:18:59 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-12-17 00:18:59 +0100 |
commit | 8d9049603bba72f55f1fa9e47f281bb7d8bfca37 (patch) | |
tree | fa2bc45598eaf41da3a88960c1b4850f93c7b7f7 /src/ChunkMap.cpp | |
parent | Removed test (diff) | |
download | cuberite-8d9049603bba72f55f1fa9e47f281bb7d8bfca37.tar cuberite-8d9049603bba72f55f1fa9e47f281bb7d8bfca37.tar.gz cuberite-8d9049603bba72f55f1fa9e47f281bb7d8bfca37.tar.bz2 cuberite-8d9049603bba72f55f1fa9e47f281bb7d8bfca37.tar.lz cuberite-8d9049603bba72f55f1fa9e47f281bb7d8bfca37.tar.xz cuberite-8d9049603bba72f55f1fa9e47f281bb7d8bfca37.tar.zst cuberite-8d9049603bba72f55f1fa9e47f281bb7d8bfca37.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 222a756b1..6aff3a754 100644 --- a/src/ChunkMap.cpp +++ b/src/ChunkMap.cpp @@ -3075,7 +3075,7 @@ void cChunkMap::cChunkLayer::UnloadUnusedChunks(void) ) { // The cChunk destructor calls our GetChunk() while removing its entities - // so we still need to be able to return the chunk. Therefore we first delete, then NULLify + // so we still need to be able to return the chunk. Therefore we first delete, then nullptrify // Doing otherwise results in bug http://forum.mc-server.org/showthread.php?tid=355 delete m_Chunks[i]; m_Chunks[i] = nullptr; |