diff options
author | STRWarrior <niels.breuker@hotmail.nl> | 2013-12-22 15:30:47 +0100 |
---|---|---|
committer | STRWarrior <niels.breuker@hotmail.nl> | 2013-12-22 15:30:47 +0100 |
commit | 5f18abaa271a7e4a396b444de65d387ade3a8204 (patch) | |
tree | 64e2f2959d7e560101200541b85f18357826e163 /src/ChunkMap.cpp | |
parent | Fishing underground is slower and fishing while raining is faster. (diff) | |
download | cuberite-5f18abaa271a7e4a396b444de65d387ade3a8204.tar cuberite-5f18abaa271a7e4a396b444de65d387ade3a8204.tar.gz cuberite-5f18abaa271a7e4a396b444de65d387ade3a8204.tar.bz2 cuberite-5f18abaa271a7e4a396b444de65d387ade3a8204.tar.lz cuberite-5f18abaa271a7e4a396b444de65d387ade3a8204.tar.xz cuberite-5f18abaa271a7e4a396b444de65d387ade3a8204.tar.zst cuberite-5f18abaa271a7e4a396b444de65d387ade3a8204.zip |
Diffstat (limited to '')
-rw-r--r-- | src/ChunkMap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ChunkMap.cpp b/src/ChunkMap.cpp index 37f8df766..86fbceff7 100644 --- a/src/ChunkMap.cpp +++ b/src/ChunkMap.cpp @@ -610,7 +610,7 @@ void cChunkMap::BroadcastParticleEffect(const AString & a_ParticleName, float a_ cCSLock Lock(m_CSLayers); int ChunkX, ChunkZ; - cChunkDef::BlockToChunk(a_SrcX, a_SrcZ, ChunkX, ChunkZ); + cChunkDef::BlockToChunk((int) a_SrcX, (int) a_SrcZ, ChunkX, ChunkZ); cChunkPtr Chunk = GetChunkNoGen(ChunkX, 0, ChunkZ); if (Chunk == NULL) { |