summaryrefslogtreecommitdiffstats
path: root/src/Map.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-02-27 09:06:25 +0100
committermadmaxoft <github@xoft.cz>2014-02-27 09:06:25 +0100
commit9c6d72a023807fca238361d636a52166f952fa59 (patch)
treeee0fae00f57df34dd3437bc599ba007b97b22619 /src/Map.cpp
parentFixed a gcc warning in FastNBT.h. (diff)
downloadcuberite-9c6d72a023807fca238361d636a52166f952fa59.tar
cuberite-9c6d72a023807fca238361d636a52166f952fa59.tar.gz
cuberite-9c6d72a023807fca238361d636a52166f952fa59.tar.bz2
cuberite-9c6d72a023807fca238361d636a52166f952fa59.tar.lz
cuberite-9c6d72a023807fca238361d636a52166f952fa59.tar.xz
cuberite-9c6d72a023807fca238361d636a52166f952fa59.tar.zst
cuberite-9c6d72a023807fca238361d636a52166f952fa59.zip
Diffstat (limited to '')
-rw-r--r--src/Map.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Map.cpp b/src/Map.cpp
index 337c9cd31..2d8f57168 100644
--- a/src/Map.cpp
+++ b/src/Map.cpp
@@ -357,6 +357,8 @@ void cMap::AddPlayer(cPlayer * a_Player, Int64 a_WorldAge)
MapClient.m_LastUpdate = a_WorldAge;
MapClient.m_SendInfo = true;
MapClient.m_Handle = Handle;
+ MapClient.m_DataUpdate = 0;
+ MapClient.m_NextDecoratorUpdate = 0;
m_Clients.push_back(MapClient);