diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-06-18 10:24:34 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-06-18 10:24:34 +0200 |
commit | 547c34132530a4dba841879595bd0762ef52a22d (patch) | |
tree | 8c9f14efe8e313244c0dc7a69e5e1952fc3da384 /source/World.cpp | |
parent | Extended the cloc stats for the entire project (diff) | |
download | cuberite-547c34132530a4dba841879595bd0762ef52a22d.tar cuberite-547c34132530a4dba841879595bd0762ef52a22d.tar.gz cuberite-547c34132530a4dba841879595bd0762ef52a22d.tar.bz2 cuberite-547c34132530a4dba841879595bd0762ef52a22d.tar.lz cuberite-547c34132530a4dba841879595bd0762ef52a22d.tar.xz cuberite-547c34132530a4dba841879595bd0762ef52a22d.tar.zst cuberite-547c34132530a4dba841879595bd0762ef52a22d.zip |
Diffstat (limited to '')
-rw-r--r-- | source/World.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/World.cpp b/source/World.cpp index f9da43ed2..51863919f 100644 --- a/source/World.cpp +++ b/source/World.cpp @@ -736,8 +736,8 @@ bool cWorld::ForEachFurnaceInChunk(int a_ChunkX, int a_ChunkZ, cFurnaceCallback void cWorld::DoExplosiontAt(float a_ExplosionSize, int a_BlockX, int a_BlockY, int a_BlockZ) { // TODO: Add damage to entities, add support for pickups, and implement block hardiness - Vector3d explosion_pos = Vector3d(a_BlockX,a_BlockY,a_BlockZ); - cVector3iArray * BlocksAffected = m_ChunkMap->DoExplosiontAt(a_ExplosionSize,a_BlockX,a_BlockY,a_BlockZ); + Vector3d explosion_pos = Vector3d(a_BlockX, a_BlockY, a_BlockZ); + cVector3iArray * BlocksAffected = m_ChunkMap->DoExplosiontAt(a_ExplosionSize, a_BlockX, a_BlockY, a_BlockZ); BroadcastSoundEffect("random.explode", a_BlockX * 8, a_BlockY * 8, a_BlockZ * 8, 1.0f, 0.6f); { cCSLock Lock(m_CSPlayers); |