diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-02-28 09:10:51 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-02-28 09:10:51 +0100 |
commit | 2c9198b2081b04f3813f8c632e85b0c4ce5c517a (patch) | |
tree | bfcba76fc96c8f02de338fd804d3894b7d8e53d3 /source/cChunkMap.cpp | |
parent | Fix for the perpetual load issue (diff) | |
download | cuberite-2c9198b2081b04f3813f8c632e85b0c4ce5c517a.tar cuberite-2c9198b2081b04f3813f8c632e85b0c4ce5c517a.tar.gz cuberite-2c9198b2081b04f3813f8c632e85b0c4ce5c517a.tar.bz2 cuberite-2c9198b2081b04f3813f8c632e85b0c4ce5c517a.tar.lz cuberite-2c9198b2081b04f3813f8c632e85b0c4ce5c517a.tar.xz cuberite-2c9198b2081b04f3813f8c632e85b0c4ce5c517a.tar.zst cuberite-2c9198b2081b04f3813f8c632e85b0c4ce5c517a.zip |
Diffstat (limited to 'source/cChunkMap.cpp')
-rw-r--r-- | source/cChunkMap.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/cChunkMap.cpp b/source/cChunkMap.cpp index eb9d71c60..140a3f5c7 100644 --- a/source/cChunkMap.cpp +++ b/source/cChunkMap.cpp @@ -157,7 +157,7 @@ cChunkPtr cChunkMap::GetChunkNoGen( int a_ChunkX, int a_ChunkY, int a_ChunkZ ) -void cChunkMap::BroadcastToChunk(int a_ChunkX, int a_ChunkY, int a_ChunkZ, cPacket & a_Packet, cClientHandle * a_Exclude)
+void cChunkMap::BroadcastToChunk(int a_ChunkX, int a_ChunkY, int a_ChunkZ, const cPacket & a_Packet, cClientHandle * a_Exclude)
{
// Broadcasts a_Packet to all clients in the chunk where block [x, y, z] is, except to client a_Exclude
@@ -175,7 +175,7 @@ void cChunkMap::BroadcastToChunk(int a_ChunkX, int a_ChunkY, int a_ChunkZ, cPack -void cChunkMap::BroadcastToChunkOfBlock(int a_X, int a_Y, int a_Z, cPacket * a_Packet, cClientHandle * a_Exclude)
+void cChunkMap::BroadcastToChunkOfBlock(int a_X, int a_Y, int a_Z, const cPacket * a_Packet, cClientHandle * a_Exclude)
{
// Broadcasts a_Packet to all clients in the chunk where block [x, y, z] is, except to client a_Exclude
|