diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-09-11 17:03:09 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-09-11 17:03:09 +0200 |
commit | 3bd3ac2200392542b111d2bcd2951bd342edf721 (patch) | |
tree | 7b7670883575c6687a219192923bc40265192eff /src/ChunkMap.cpp | |
parent | 1.8: Added MultiBlockChange packet. (diff) | |
download | cuberite-3bd3ac2200392542b111d2bcd2951bd342edf721.tar cuberite-3bd3ac2200392542b111d2bcd2951bd342edf721.tar.gz cuberite-3bd3ac2200392542b111d2bcd2951bd342edf721.tar.bz2 cuberite-3bd3ac2200392542b111d2bcd2951bd342edf721.tar.lz cuberite-3bd3ac2200392542b111d2bcd2951bd342edf721.tar.xz cuberite-3bd3ac2200392542b111d2bcd2951bd342edf721.tar.zst cuberite-3bd3ac2200392542b111d2bcd2951bd342edf721.zip |
Diffstat (limited to 'src/ChunkMap.cpp')
-rw-r--r-- | src/ChunkMap.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ChunkMap.cpp b/src/ChunkMap.cpp index 9c105c5af..e03c9b86c 100644 --- a/src/ChunkMap.cpp +++ b/src/ChunkMap.cpp @@ -617,7 +617,7 @@ void cChunkMap::BroadcastEntityAnimation(const cEntity & a_Entity, char a_Animat -void cChunkMap::BroadcastParticleEffect(const AString & a_ParticleName, float a_SrcX, float a_SrcY, float a_SrcZ, float a_OffsetX, float a_OffsetY, float a_OffsetZ, float a_ParticleData, int a_ParticleAmmount, cClientHandle * a_Exclude) +void cChunkMap::BroadcastParticleEffect(const AString & a_ParticleName, float a_SrcX, float a_SrcY, float a_SrcZ, float a_OffsetX, float a_OffsetY, float a_OffsetZ, float a_ParticleData, int a_ParticleAmount, cClientHandle * a_Exclude) { cCSLock Lock(m_CSLayers); int ChunkX, ChunkZ; @@ -629,7 +629,7 @@ void cChunkMap::BroadcastParticleEffect(const AString & a_ParticleName, float a_ return; } // It's perfectly legal to broadcast packets even to invalid chunks! - Chunk->BroadcastParticleEffect(a_ParticleName, a_SrcX, a_SrcY, a_SrcZ, a_OffsetX, a_OffsetY, a_OffsetZ, a_ParticleData, a_ParticleAmmount, a_Exclude); + Chunk->BroadcastParticleEffect(a_ParticleName, a_SrcX, a_SrcY, a_SrcZ, a_OffsetX, a_OffsetY, a_OffsetZ, a_ParticleData, a_ParticleAmount, a_Exclude); } |