summaryrefslogtreecommitdiffstats
path: root/src/ChunkStay.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-02-08 22:23:38 +0100
committermadmaxoft <github@xoft.cz>2014-02-08 22:23:38 +0100
commit7432d2f74d8d2cc5a002b9c414b006ecb9cdfcfd (patch)
tree38df5439f39aec6d1558fb3f67070680c5d0ebef /src/ChunkStay.cpp
parentFixed gcc compilation. (diff)
downloadcuberite-7432d2f74d8d2cc5a002b9c414b006ecb9cdfcfd.tar
cuberite-7432d2f74d8d2cc5a002b9c414b006ecb9cdfcfd.tar.gz
cuberite-7432d2f74d8d2cc5a002b9c414b006ecb9cdfcfd.tar.bz2
cuberite-7432d2f74d8d2cc5a002b9c414b006ecb9cdfcfd.tar.lz
cuberite-7432d2f74d8d2cc5a002b9c414b006ecb9cdfcfd.tar.xz
cuberite-7432d2f74d8d2cc5a002b9c414b006ecb9cdfcfd.tar.zst
cuberite-7432d2f74d8d2cc5a002b9c414b006ecb9cdfcfd.zip
Diffstat (limited to 'src/ChunkStay.cpp')
-rw-r--r--src/ChunkStay.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ChunkStay.cpp b/src/ChunkStay.cpp
index e86501c4e..cce8d5f4d 100644
--- a/src/ChunkStay.cpp
+++ b/src/ChunkStay.cpp
@@ -84,9 +84,9 @@ void cChunkStay::Enable(cChunkMap & a_ChunkMap)
{
ASSERT(m_ChunkMap == NULL);
+ m_OutstandingChunks = m_Chunks;
m_ChunkMap = &a_ChunkMap;
a_ChunkMap.AddChunkStay(*this);
- m_OutstandingChunks = m_Chunks;
}