diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-03-05 23:12:48 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-03-05 23:12:48 +0100 |
commit | 53231bebd650b9398060cee1434ad4c44152d36e (patch) | |
tree | 018e79175daa3664668512ad01b6d7f55d639d34 /src/Simulator/IncrementalRedstoneSimulator.cpp | |
parent | Fixed MSVC warnings in DeprecatedBindings. (diff) | |
download | cuberite-53231bebd650b9398060cee1434ad4c44152d36e.tar cuberite-53231bebd650b9398060cee1434ad4c44152d36e.tar.gz cuberite-53231bebd650b9398060cee1434ad4c44152d36e.tar.bz2 cuberite-53231bebd650b9398060cee1434ad4c44152d36e.tar.lz cuberite-53231bebd650b9398060cee1434ad4c44152d36e.tar.xz cuberite-53231bebd650b9398060cee1434ad4c44152d36e.tar.zst cuberite-53231bebd650b9398060cee1434ad4c44152d36e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Simulator/IncrementalRedstoneSimulator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Simulator/IncrementalRedstoneSimulator.cpp b/src/Simulator/IncrementalRedstoneSimulator.cpp index 0640227b0..c9305b8ff 100644 --- a/src/Simulator/IncrementalRedstoneSimulator.cpp +++ b/src/Simulator/IncrementalRedstoneSimulator.cpp @@ -838,8 +838,8 @@ void cIncrementalRedstoneSimulator::HandleTNT(int a_BlockX, int a_BlockY, int a_ if (AreCoordsPowered(a_BlockX, a_BlockY, a_BlockZ)) { m_World.BroadcastSoundEffect("game.tnt.primed", a_BlockX * 8, a_BlockY * 8, a_BlockZ * 8, 0.5f, 0.6f); - m_World.SpawnPrimedTNT(a_BlockX + 0.5, a_BlockY + 0.5, a_BlockZ + 0.5, 4); // 4 seconds to boom m_World.SetBlock(a_BlockX, a_BlockY, a_BlockZ, E_BLOCK_AIR, 0); + m_World.SpawnPrimedTNT(a_BlockX + 0.5, a_BlockY + 0.5, a_BlockZ + 0.5, 4); // 4 seconds to boom } } |