summaryrefslogtreecommitdiffstats
path: root/src/Simulator/IncrementalRedstoneSimulator.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-03-08 12:24:33 +0100
committerHowaner <franzi.moos@googlemail.com>2014-03-08 12:24:33 +0100
commitb37966fd214fb048a415a33291a85ee8c263691c (patch)
tree12fc18f87b61607b051631acdb217ef35a07f7bb /src/Simulator/IncrementalRedstoneSimulator.cpp
parentAdd new tnt documentation (diff)
downloadcuberite-b37966fd214fb048a415a33291a85ee8c263691c.tar
cuberite-b37966fd214fb048a415a33291a85ee8c263691c.tar.gz
cuberite-b37966fd214fb048a415a33291a85ee8c263691c.tar.bz2
cuberite-b37966fd214fb048a415a33291a85ee8c263691c.tar.lz
cuberite-b37966fd214fb048a415a33291a85ee8c263691c.tar.xz
cuberite-b37966fd214fb048a415a33291a85ee8c263691c.tar.zst
cuberite-b37966fd214fb048a415a33291a85ee8c263691c.zip
Diffstat (limited to 'src/Simulator/IncrementalRedstoneSimulator.cpp')
-rw-r--r--src/Simulator/IncrementalRedstoneSimulator.cpp2
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);
}
}