summaryrefslogtreecommitdiffstats
path: root/source/cChunkMap.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-08-31 23:59:57 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-08-31 23:59:57 +0200
commit7824ce9d6352664bd291e57a3084e5c51af5d4a6 (patch)
tree8ba7b1476ec2c807b9ed2f0d7cb224f219dbd57b /source/cChunkMap.cpp
parentFix for the nightbuild script packing the wrong PDBs (diff)
downloadcuberite-7824ce9d6352664bd291e57a3084e5c51af5d4a6.tar
cuberite-7824ce9d6352664bd291e57a3084e5c51af5d4a6.tar.gz
cuberite-7824ce9d6352664bd291e57a3084e5c51af5d4a6.tar.bz2
cuberite-7824ce9d6352664bd291e57a3084e5c51af5d4a6.tar.lz
cuberite-7824ce9d6352664bd291e57a3084e5c51af5d4a6.tar.xz
cuberite-7824ce9d6352664bd291e57a3084e5c51af5d4a6.tar.zst
cuberite-7824ce9d6352664bd291e57a3084e5c51af5d4a6.zip
Diffstat (limited to '')
-rw-r--r--source/cChunkMap.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/cChunkMap.cpp b/source/cChunkMap.cpp
index c764a0321..5f9724179 100644
--- a/source/cChunkMap.cpp
+++ b/source/cChunkMap.cpp
@@ -325,7 +325,7 @@ void cChunkMap::BroadcastEntHeadLook(const cEntity & a_Entity, const cClientHand
-void cChunkMap::BroadcastBlockAction(int a_BlockX, int a_BlockY, int a_BlockZ, char a_Byte1, char a_Byte2, const cClientHandle * a_Exclude)
+void cChunkMap::BroadcastBlockAction(int a_BlockX, int a_BlockY, int a_BlockZ, char a_Byte1, char a_Byte2, BLOCKTYPE a_BlockType, const cClientHandle * a_Exclude)
{
cCSLock Lock(m_CSLayers);
int x, y, z, ChunkX, ChunkZ;
@@ -339,7 +339,7 @@ void cChunkMap::BroadcastBlockAction(int a_BlockX, int a_BlockY, int a_BlockZ, c
return;
}
// It's perfectly legal to broadcast packets even to invalid chunks!
- Chunk->BroadcastBlockAction(a_BlockX, a_BlockY, a_BlockZ, a_Byte1, a_Byte2, a_Exclude);
+ Chunk->BroadcastBlockAction(a_BlockX, a_BlockY, a_BlockZ, a_Byte1, a_Byte2, a_BlockType, a_Exclude);
}