summaryrefslogtreecommitdiffstats
path: root/src/ChunkMap.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-07-13 13:31:09 +0200
committermadmaxoft <github@xoft.cz>2014-07-13 13:31:09 +0200
commit31415aec63f03aeb92ec17ad3a3acb27aa6b2fc2 (patch)
treebeccd7d4a05039ba5055e44721875ec15befae27 /src/ChunkMap.cpp
parentUpdate. (diff)
downloadcuberite-31415aec63f03aeb92ec17ad3a3acb27aa6b2fc2.tar
cuberite-31415aec63f03aeb92ec17ad3a3acb27aa6b2fc2.tar.gz
cuberite-31415aec63f03aeb92ec17ad3a3acb27aa6b2fc2.tar.bz2
cuberite-31415aec63f03aeb92ec17ad3a3acb27aa6b2fc2.tar.lz
cuberite-31415aec63f03aeb92ec17ad3a3acb27aa6b2fc2.tar.xz
cuberite-31415aec63f03aeb92ec17ad3a3acb27aa6b2fc2.tar.zst
cuberite-31415aec63f03aeb92ec17ad3a3acb27aa6b2fc2.zip
Diffstat (limited to '')
-rw-r--r--src/ChunkMap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ChunkMap.cpp b/src/ChunkMap.cpp
index 0a0a841cd..b24eead2d 100644
--- a/src/ChunkMap.cpp
+++ b/src/ChunkMap.cpp
@@ -652,7 +652,7 @@ void cChunkMap::BroadcastSoundEffect(const AString & a_SoundName, double a_X, do
cCSLock Lock(m_CSLayers);
int ChunkX, ChunkZ;
- cChunkDef::BlockToChunk(std::floor(a_X), std::floor(a_Z), ChunkX, ChunkZ);
+ cChunkDef::BlockToChunk((int)std::floor(a_X), (int)std::floor(a_Z), ChunkX, ChunkZ);
cChunkPtr Chunk = GetChunkNoGen(ChunkX, 0, ChunkZ);
if (Chunk == NULL)
{