diff options
author | Howaner <franzi.moos@googlemail.com> | 2015-01-25 01:08:05 +0100 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2015-01-25 01:08:05 +0100 |
commit | e283a2a93906cb44336c7b277837d9552d5ffa02 (patch) | |
tree | f86857edd41521e0b49e3832a84b8e652aa7fcd5 /src/Blocks | |
parent | Updated to latest code. (diff) | |
download | cuberite-e283a2a93906cb44336c7b277837d9552d5ffa02.tar cuberite-e283a2a93906cb44336c7b277837d9552d5ffa02.tar.gz cuberite-e283a2a93906cb44336c7b277837d9552d5ffa02.tar.bz2 cuberite-e283a2a93906cb44336c7b277837d9552d5ffa02.tar.lz cuberite-e283a2a93906cb44336c7b277837d9552d5ffa02.tar.xz cuberite-e283a2a93906cb44336c7b277837d9552d5ffa02.tar.zst cuberite-e283a2a93906cb44336c7b277837d9552d5ffa02.zip |
Diffstat (limited to 'src/Blocks')
-rw-r--r-- | src/Blocks/BlockSponge.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Blocks/BlockSponge.h b/src/Blocks/BlockSponge.h index 7bb692c37..a9a897f33 100644 --- a/src/Blocks/BlockSponge.h +++ b/src/Blocks/BlockSponge.h @@ -38,7 +38,7 @@ public: } - bool AbsorbWater(cChunkInterface & a_ChunkInterface, int a_BlockX, int a_BlockY, int a_BlockZ) + void AbsorbWater(cChunkInterface & a_ChunkInterface, int a_BlockX, int a_BlockY, int a_BlockZ) { std::list<Vector3i> Blocks; std::list<Vector3i> WaterBlocks; @@ -85,11 +85,9 @@ public: a_ChunkInterface.SetBlock(Block.x, Block.y, Block.z, E_BLOCK_AIR, 0); } - // ChunkInterface doesn't have a BroadcastSoundParticleEffect() method :( + // ChunkInterface doesn't have a BroadcastSoundParticleEffect() method. // a_World->BroadcastSoundParticleEffect(2001, (int) a_BlockX * 8.f), (int) (a_BlockY * 8.f), (int) (a_BlockZ * 8.f), E_BLOCK_STATIONARY_WATER); - return true; } - return false; } } ; |