summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-11-28 19:24:25 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-11-28 19:24:25 +0100
commit96759637e94ddbe0d6cbf11505a6c63c254786ff (patch)
treedeb522b258e45dd8414c697f06e90e8bd2b6173d /src
parentImproved TNT pickup randomisation (diff)
downloadcuberite-96759637e94ddbe0d6cbf11505a6c63c254786ff.tar
cuberite-96759637e94ddbe0d6cbf11505a6c63c254786ff.tar.gz
cuberite-96759637e94ddbe0d6cbf11505a6c63c254786ff.tar.bz2
cuberite-96759637e94ddbe0d6cbf11505a6c63c254786ff.tar.lz
cuberite-96759637e94ddbe0d6cbf11505a6c63c254786ff.tar.xz
cuberite-96759637e94ddbe0d6cbf11505a6c63c254786ff.tar.zst
cuberite-96759637e94ddbe0d6cbf11505a6c63c254786ff.zip
Diffstat (limited to 'src')
-rw-r--r--src/ChunkMap.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ChunkMap.cpp b/src/ChunkMap.cpp
index 7d5b61346..692f97ddf 100644
--- a/src/ChunkMap.cpp
+++ b/src/ChunkMap.cpp
@@ -1674,9 +1674,9 @@ void cChunkMap::DoExplosionAt(double a_ExplosionSize, double a_BlockX, double a_
// Wake up all simulators for the area, so that water and lava flows and sand falls into the blasted holes (FS #391):
WakeUpSimulatorsInArea(
- bx - ExplosionSizeInt, bx + ExplosionSizeInt + 1,
+ bx - ExplosionSizeInt - 1, bx + ExplosionSizeInt + 1,
MinY, MaxY,
- bz - ExplosionSizeInt, bz + ExplosionSizeInt + 1
+ bz - ExplosionSizeInt - 1, bz + ExplosionSizeInt + 1
);
}