summaryrefslogtreecommitdiffstats
path: root/source/ChunkMap.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-09-07 18:12:22 +0200
committermadmaxoft <github@xoft.cz>2013-09-07 18:12:22 +0200
commit3b1c83acf8a0592f3c09a6bd530f8b695272b1ab (patch)
treef95b5f62aec5fb41cc8d1d1d1bed5f1e8e135ac3 /source/ChunkMap.cpp
parentArrows have proper yaw and pitch when shot, and stop when they hit a block. (diff)
downloadcuberite-3b1c83acf8a0592f3c09a6bd530f8b695272b1ab.tar
cuberite-3b1c83acf8a0592f3c09a6bd530f8b695272b1ab.tar.gz
cuberite-3b1c83acf8a0592f3c09a6bd530f8b695272b1ab.tar.bz2
cuberite-3b1c83acf8a0592f3c09a6bd530f8b695272b1ab.tar.lz
cuberite-3b1c83acf8a0592f3c09a6bd530f8b695272b1ab.tar.xz
cuberite-3b1c83acf8a0592f3c09a6bd530f8b695272b1ab.tar.zst
cuberite-3b1c83acf8a0592f3c09a6bd530f8b695272b1ab.zip
Diffstat (limited to 'source/ChunkMap.cpp')
-rw-r--r--source/ChunkMap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/ChunkMap.cpp b/source/ChunkMap.cpp
index a15f3aed1..3c098fdfe 100644
--- a/source/ChunkMap.cpp
+++ b/source/ChunkMap.cpp
@@ -1562,7 +1562,7 @@ bool cChunkMap::ForEachEntityInChunk(int a_ChunkX, int a_ChunkZ, cEntityCallback
-void cChunkMap::DoExplosiontAt(double a_ExplosionSize, double a_BlockX, double a_BlockY, double a_BlockZ, cVector3iArray & a_BlocksAffected)
+void cChunkMap::DoExplosionAt(double a_ExplosionSize, double a_BlockX, double a_BlockY, double a_BlockZ, cVector3iArray & a_BlocksAffected)
{
// Don't explode if outside of Y range (prevents the following test running into unallocated memory):
if ((a_BlockY < 0) || (a_BlockY > cChunkDef::Height - 1))