diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-11-10 23:20:25 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-11-10 23:20:25 +0100 |
commit | f713780db31e22345a1faf048ab948b1b4e03200 (patch) | |
tree | f05cc95ba5e3eef14c490700456415c6b15bdd7f /source/ChunkMap.cpp | |
parent | Bundled fixes [SEE DESC] (diff) | |
download | cuberite-f713780db31e22345a1faf048ab948b1b4e03200.tar cuberite-f713780db31e22345a1faf048ab948b1b4e03200.tar.gz cuberite-f713780db31e22345a1faf048ab948b1b4e03200.tar.bz2 cuberite-f713780db31e22345a1faf048ab948b1b4e03200.tar.lz cuberite-f713780db31e22345a1faf048ab948b1b4e03200.tar.xz cuberite-f713780db31e22345a1faf048ab948b1b4e03200.tar.zst cuberite-f713780db31e22345a1faf048ab948b1b4e03200.zip |
Diffstat (limited to '')
-rw-r--r-- | source/ChunkMap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/ChunkMap.cpp b/source/ChunkMap.cpp index d9de24cff..73a16dbb4 100644 --- a/source/ChunkMap.cpp +++ b/source/ChunkMap.cpp @@ -613,7 +613,7 @@ void cChunkMap::BroadcastSoundParticleEffect(int a_EffectID, int a_SrcX, int a_S cCSLock Lock(m_CSLayers); int ChunkX, ChunkZ; - cChunkDef::BlockToChunk(a_SrcX / 8, a_SrcZ / 8, ChunkX, ChunkZ); + cChunkDef::BlockToChunk(a_SrcX, a_SrcZ, ChunkX, ChunkZ); cChunkPtr Chunk = GetChunkNoGen(ChunkX, 0, ChunkZ); if (Chunk == NULL) { |