diff options
author | madmaxoft <github@xoft.cz> | 2014-04-12 22:15:09 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-04-12 22:15:09 +0200 |
commit | 75b7244f0565170ccc40a3ebdf277945e5191be8 (patch) | |
tree | b6d29ecdfffd8317608902794d61dc746421126d /src/ChunkStay.cpp | |
parent | Updated the NetherFort prefabs to current Gallery contents. (diff) | |
download | cuberite-75b7244f0565170ccc40a3ebdf277945e5191be8.tar cuberite-75b7244f0565170ccc40a3ebdf277945e5191be8.tar.gz cuberite-75b7244f0565170ccc40a3ebdf277945e5191be8.tar.bz2 cuberite-75b7244f0565170ccc40a3ebdf277945e5191be8.tar.lz cuberite-75b7244f0565170ccc40a3ebdf277945e5191be8.tar.xz cuberite-75b7244f0565170ccc40a3ebdf277945e5191be8.tar.zst cuberite-75b7244f0565170ccc40a3ebdf277945e5191be8.zip |
Diffstat (limited to 'src/ChunkStay.cpp')
-rw-r--r-- | src/ChunkStay.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ChunkStay.cpp b/src/ChunkStay.cpp index 6b1d5ee34..a35ccf58c 100644 --- a/src/ChunkStay.cpp +++ b/src/ChunkStay.cpp @@ -97,8 +97,9 @@ void cChunkStay::Disable(void) { ASSERT(m_ChunkMap != NULL); - m_ChunkMap->DelChunkStay(*this); + cChunkMap * ChunkMap = m_ChunkMap; m_ChunkMap = NULL; + ChunkMap->DelChunkStay(*this); } |