diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-03-09 22:44:32 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-03-09 22:44:32 +0100 |
commit | 09c5542123bcde7d9c40c35679f3ff499eb50125 (patch) | |
tree | f357cf6e6a6cb8ce10ab26f7379d07683a84ac54 /src/Simulator | |
parent | Merge pull request #731 from mc-server/ballisticmissiles (diff) | |
parent | Change tnt documentation to ticks (diff) | |
download | cuberite-09c5542123bcde7d9c40c35679f3ff499eb50125.tar cuberite-09c5542123bcde7d9c40c35679f3ff499eb50125.tar.gz cuberite-09c5542123bcde7d9c40c35679f3ff499eb50125.tar.bz2 cuberite-09c5542123bcde7d9c40c35679f3ff499eb50125.tar.lz cuberite-09c5542123bcde7d9c40c35679f3ff499eb50125.tar.xz cuberite-09c5542123bcde7d9c40c35679f3ff499eb50125.tar.zst cuberite-09c5542123bcde7d9c40c35679f3ff499eb50125.zip |
Diffstat (limited to 'src/Simulator')
-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 f377b0aa7..ca2ef4b1a 100644 --- a/src/Simulator/IncrementalRedstoneSimulator.cpp +++ b/src/Simulator/IncrementalRedstoneSimulator.cpp @@ -838,7 +838,7 @@ 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.SpawnPrimedTNT(a_BlockX + 0.5, a_BlockY + 0.5, a_BlockZ + 0.5); // 80 ticks to boom m_World.SetBlock(a_BlockX, a_BlockY, a_BlockZ, E_BLOCK_AIR, 0); } } |