summaryrefslogtreecommitdiffstats
path: root/source/ChunkSender.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-12 20:29:31 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-12 20:29:31 +0100
commitcb1edaf6df5575c28b50462bc98c5a6072b449b5 (patch)
treebe827ec4fa198761de5c654dbb8b7514167c5324 /source/ChunkSender.cpp
parentFixing compilation on Drawin 9 / MacOS X (diff)
downloadcuberite-cb1edaf6df5575c28b50462bc98c5a6072b449b5.tar
cuberite-cb1edaf6df5575c28b50462bc98c5a6072b449b5.tar.gz
cuberite-cb1edaf6df5575c28b50462bc98c5a6072b449b5.tar.bz2
cuberite-cb1edaf6df5575c28b50462bc98c5a6072b449b5.tar.lz
cuberite-cb1edaf6df5575c28b50462bc98c5a6072b449b5.tar.xz
cuberite-cb1edaf6df5575c28b50462bc98c5a6072b449b5.tar.zst
cuberite-cb1edaf6df5575c28b50462bc98c5a6072b449b5.zip
Diffstat (limited to '')
-rw-r--r--source/ChunkSender.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/ChunkSender.cpp b/source/ChunkSender.cpp
index f73246c98..5d7efbdc8 100644
--- a/source/ChunkSender.cpp
+++ b/source/ChunkSender.cpp
@@ -22,6 +22,7 @@ cChunkSender::cChunkSender(void) :
super("ChunkSender"),
m_World(NULL)
{
+ memset(m_BiomeData, biPlains, sizeof(m_BiomeData));
}
@@ -171,7 +172,7 @@ void cChunkSender::SendChunk(int a_ChunkX, int a_ChunkY, int a_ChunkZ, cClientHa
return;
}
cPacket_PreChunk PreChunk(a_ChunkX, a_ChunkZ, true);
- cPacket_MapChunk MapChunk(a_ChunkX, a_ChunkY, a_ChunkZ, m_BlockData);
+ cPacket_MapChunk MapChunk(a_ChunkX, a_ChunkY, a_ChunkZ, m_BlockData, m_BiomeData);
// Send:
if (a_Client == NULL)