summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemLighter.h
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-03-10 18:17:28 +0100
committerTycho <work.tycho+git@gmail.com>2014-03-10 18:17:28 +0100
commit0a509ab85e395bf46e29b7b554d736fadfaed0ba (patch)
treef67665e089d372b89505f1b9a3ee21c8cd9f0d8c /src/Items/ItemLighter.h
parentBe more parinoid about int sizes (diff)
parentFixed MSVC2008 compilation. (diff)
downloadcuberite-0a509ab85e395bf46e29b7b554d736fadfaed0ba.tar
cuberite-0a509ab85e395bf46e29b7b554d736fadfaed0ba.tar.gz
cuberite-0a509ab85e395bf46e29b7b554d736fadfaed0ba.tar.bz2
cuberite-0a509ab85e395bf46e29b7b554d736fadfaed0ba.tar.lz
cuberite-0a509ab85e395bf46e29b7b554d736fadfaed0ba.tar.xz
cuberite-0a509ab85e395bf46e29b7b554d736fadfaed0ba.tar.zst
cuberite-0a509ab85e395bf46e29b7b554d736fadfaed0ba.zip
Diffstat (limited to 'src/Items/ItemLighter.h')
-rw-r--r--src/Items/ItemLighter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Items/ItemLighter.h b/src/Items/ItemLighter.h
index cc7daeb08..18873e911 100644
--- a/src/Items/ItemLighter.h
+++ b/src/Items/ItemLighter.h
@@ -33,8 +33,8 @@ public:
case E_BLOCK_TNT:
{
// Activate the TNT:
- a_World->BroadcastSoundEffect("game.tnt.primed", a_BlockX * 8, a_BlockY * 8, a_BlockZ * 8, 0.5f, 0.6f);
- a_World->SpawnPrimedTNT(a_BlockX + 0.5, a_BlockY + 0.5, a_BlockZ + 0.5, 4); // 4 seconds to boom
+ a_World->BroadcastSoundEffect("game.tnt.primed", a_BlockX * 8, a_BlockY * 8, a_BlockZ * 8, 1.0f, 1.0f);
+ a_World->SpawnPrimedTNT(a_BlockX + 0.5, a_BlockY + 0.5, a_BlockZ + 0.5); // 80 ticks to boom
a_World->SetBlock(a_BlockX,a_BlockY,a_BlockZ, E_BLOCK_AIR, 0);
break;
}