summaryrefslogtreecommitdiffstats
path: root/src/ChunkMap.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-02-05 00:07:22 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-02-05 00:07:22 +0100
commit630507fd5b8a7ac280ee75994f98b9ecfdcb7a70 (patch)
tree731e8b7896887072bea12f35b3a164761e01abdd /src/ChunkMap.cpp
parentAdded more SendMessageXXX() functions (diff)
downloadcuberite-630507fd5b8a7ac280ee75994f98b9ecfdcb7a70.tar
cuberite-630507fd5b8a7ac280ee75994f98b9ecfdcb7a70.tar.gz
cuberite-630507fd5b8a7ac280ee75994f98b9ecfdcb7a70.tar.bz2
cuberite-630507fd5b8a7ac280ee75994f98b9ecfdcb7a70.tar.lz
cuberite-630507fd5b8a7ac280ee75994f98b9ecfdcb7a70.tar.xz
cuberite-630507fd5b8a7ac280ee75994f98b9ecfdcb7a70.tar.zst
cuberite-630507fd5b8a7ac280ee75994f98b9ecfdcb7a70.zip
Diffstat (limited to 'src/ChunkMap.cpp')
-rw-r--r--src/ChunkMap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ChunkMap.cpp b/src/ChunkMap.cpp
index 1e2181f32..cb10e275d 100644
--- a/src/ChunkMap.cpp
+++ b/src/ChunkMap.cpp
@@ -1839,7 +1839,7 @@ void cChunkMap::DoExplosionAt(double a_ExplosionSize, double a_BlockX, double a_
bbTNT.Expand(ExplosionSizeInt * 2, ExplosionSizeInt * 2, ExplosionSizeInt * 2);
- cTNTDamageCallback TNTDamageCallback(bbTNT, Vector3d(a_BlockX, a_BlockY, a_BlockZ), a_ExplosionSize, ExplosionSizeSq);
+ cTNTDamageCallback TNTDamageCallback(bbTNT, Vector3d(a_BlockX, a_BlockY, a_BlockZ), a_ExplosionSizeInt, ExplosionSizeSq);
ForEachEntity(TNTDamageCallback);
// Wake up all simulators for the area, so that water and lava flows and sand falls into the blasted holes (FS #391):