diff options
author | madmaxoft <github@xoft.cz> | 2013-09-07 18:12:22 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-09-07 18:12:22 +0200 |
commit | 3b1c83acf8a0592f3c09a6bd530f8b695272b1ab (patch) | |
tree | f95b5f62aec5fb41cc8d1d1d1bed5f1e8e135ac3 /source/World.cpp | |
parent | Arrows have proper yaw and pitch when shot, and stop when they hit a block. (diff) | |
download | cuberite-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/World.cpp')
-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 ab783d7a7..a3572a48a 100644 --- a/source/World.cpp +++ b/source/World.cpp @@ -969,7 +969,7 @@ bool cWorld::ForEachFurnaceInChunk(int a_ChunkX, int a_ChunkZ, cFurnaceCallback -void cWorld::DoExplosiontAt(double a_ExplosionSize, double a_BlockX, double a_BlockY, double a_BlockZ, bool a_CanCauseFire, eExplosionSource a_Source, void * a_SourceData) +void cWorld::DoExplosionAt(double a_ExplosionSize, double a_BlockX, double a_BlockY, double a_BlockZ, bool a_CanCauseFire, eExplosionSource a_Source, void * a_SourceData) { if (cPluginManager::Get()->CallHookExploding(*this, a_ExplosionSize, a_CanCauseFire, a_BlockX, a_BlockY, a_BlockZ, a_Source, a_SourceData) || (a_ExplosionSize <= 0)) { @@ -979,7 +979,7 @@ void cWorld::DoExplosiontAt(double a_ExplosionSize, double a_BlockX, double a_Bl // 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, BlocksAffected); + m_ChunkMap->DoExplosionAt(a_ExplosionSize, a_BlockX, a_BlockY, a_BlockZ, BlocksAffected); BroadcastSoundEffect("random.explode", (int)floor(a_BlockX * 8), (int)floor(a_BlockY * 8), (int)floor(a_BlockZ * 8), 1.0f, 0.6f); { cCSLock Lock(m_CSPlayers); |