diff options
author | Masy98 <masy@antheruscraft.de> | 2014-12-18 19:32:48 +0100 |
---|---|---|
committer | Masy98 <masy@antheruscraft.de> | 2014-12-18 19:32:48 +0100 |
commit | 706b9181e612410ea99c9d725d3cd448dafb152c (patch) | |
tree | 0d1281525b92566409a3c4a6d0bf8a0e9d5f7dc8 /src/ChunkMap.cpp | |
parent | Added Entity Guardian (diff) | |
parent | Merge pull request #1679 from SphinxC0re/master (diff) | |
download | cuberite-706b9181e612410ea99c9d725d3cd448dafb152c.tar cuberite-706b9181e612410ea99c9d725d3cd448dafb152c.tar.gz cuberite-706b9181e612410ea99c9d725d3cd448dafb152c.tar.bz2 cuberite-706b9181e612410ea99c9d725d3cd448dafb152c.tar.lz cuberite-706b9181e612410ea99c9d725d3cd448dafb152c.tar.xz cuberite-706b9181e612410ea99c9d725d3cd448dafb152c.tar.zst cuberite-706b9181e612410ea99c9d725d3cd448dafb152c.zip |
Diffstat (limited to 'src/ChunkMap.cpp')
-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; |