diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-02-15 16:53:02 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-02-15 16:53:02 +0100 |
commit | 8fbb936b6326b46fb3f4b85d654288a6b2ccc240 (patch) | |
tree | 795b9e7418028d3669d40bc5c7aef00a2e9bd089 | |
parent | Sizeable speed improvements to redstone (diff) | |
download | cuberite-8fbb936b6326b46fb3f4b85d654288a6b2ccc240.tar cuberite-8fbb936b6326b46fb3f4b85d654288a6b2ccc240.tar.gz cuberite-8fbb936b6326b46fb3f4b85d654288a6b2ccc240.tar.bz2 cuberite-8fbb936b6326b46fb3f4b85d654288a6b2ccc240.tar.lz cuberite-8fbb936b6326b46fb3f4b85d654288a6b2ccc240.tar.xz cuberite-8fbb936b6326b46fb3f4b85d654288a6b2ccc240.tar.zst cuberite-8fbb936b6326b46fb3f4b85d654288a6b2ccc240.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Items/ItemLighter.h | 2 | ||||
-rw-r--r-- | src/Mobs/Creeper.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Items/ItemLighter.h b/src/Items/ItemLighter.h index 6681a08d4..cc7daeb08 100644 --- a/src/Items/ItemLighter.h +++ b/src/Items/ItemLighter.h @@ -33,7 +33,7 @@ public: case E_BLOCK_TNT: { // Activate the TNT: - a_World->BroadcastSoundEffect("random.fuse", a_BlockX * 8, a_BlockY * 8, a_BlockZ * 8, 0.5f, 0.6f); + 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->SetBlock(a_BlockX,a_BlockY,a_BlockZ, E_BLOCK_AIR, 0); break; diff --git a/src/Mobs/Creeper.cpp b/src/Mobs/Creeper.cpp index 2e1ece865..ff0abfdca 100644 --- a/src/Mobs/Creeper.cpp +++ b/src/Mobs/Creeper.cpp @@ -79,7 +79,7 @@ void cCreeper::Attack(float a_Dt) if (!m_bIsBlowing) { - m_World->BroadcastSoundEffect("random.fuse", (int)GetPosX() * 8, (int)GetPosY() * 8, (int)GetPosZ() * 8, 1.f, (float)(0.75 + ((float)((GetUniqueID() * 23) % 32)) / 64)); + m_World->BroadcastSoundEffect("game.tnt.primed", (int)GetPosX() * 8, (int)GetPosY() * 8, (int)GetPosZ() * 8, 1.f, (float)(0.75 + ((float)((GetUniqueID() * 23) % 32)) / 64)); m_bIsBlowing = true; m_World->BroadcastEntityMetadata(*this); } |