summaryrefslogtreecommitdiffstats
path: root/source/ChunkMap.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-18 21:09:51 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-18 21:09:51 +0200
commitb2138b132cc0f7bf03bdd723725729d76067ff23 (patch)
treed573bf041c1d47c7bf68cef49bae0be1d52ffc91 /source/ChunkMap.h
parentTNT fixes. (diff)
downloadcuberite-b2138b132cc0f7bf03bdd723725729d76067ff23.tar
cuberite-b2138b132cc0f7bf03bdd723725729d76067ff23.tar.gz
cuberite-b2138b132cc0f7bf03bdd723725729d76067ff23.tar.bz2
cuberite-b2138b132cc0f7bf03bdd723725729d76067ff23.tar.lz
cuberite-b2138b132cc0f7bf03bdd723725729d76067ff23.tar.xz
cuberite-b2138b132cc0f7bf03bdd723725729d76067ff23.tar.zst
cuberite-b2138b132cc0f7bf03bdd723725729d76067ff23.zip
Diffstat (limited to 'source/ChunkMap.h')
-rw-r--r--source/ChunkMap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/ChunkMap.h b/source/ChunkMap.h
index f8f03e063..4139b0761 100644
--- a/source/ChunkMap.h
+++ b/source/ChunkMap.h
@@ -202,8 +202,8 @@ public:
/// Calls the callback for each entity in the specified chunk; returns true if all entities processed, false if the callback aborted by returning true
bool ForEachEntityInChunk(int a_ChunkX, int a_ChunkZ, cEntityCallback & a_Callback); // Lua-accessible
- // Destroys and returns a list of blocks destroyed in the explosion at the specified coordinates
- cVector3iArray * DoExplosiontAt(float a_ExplosionSize, int a_BlockX, int a_BlockY, int a_BlockZ);
+ /// Destroys and returns a list of blocks destroyed in the explosion at the specified coordinates
+ void DoExplosiontAt(float a_ExplosionSize, int a_BlockX, int a_BlockY, int a_BlockZ, cVector3iArray & a_BlockAffected);
/// Calls the callback if the entity with the specified ID is found, with the entity object as the callback param. Returns true if entity found and callback returned false.
bool DoWithEntityByID(int a_UniqueID, cEntityCallback & a_Callback); // Lua-accessible