From c968f1f7da722eddb291c8ef474f1e0394621911 Mon Sep 17 00:00:00 2001 From: Mat Date: Sun, 22 Mar 2020 17:33:36 +0200 Subject: TNT position fixes (#4519) * TNT position fixes * Don't add offset to explosion spawn coords * Don't make other entities push TNT * Correct initial TNT speed * Fix typo * Improvements * Revert unwanted change * Style fixes * Update format --- src/Items/ItemLighter.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/Items') diff --git a/src/Items/ItemLighter.h b/src/Items/ItemLighter.h index 5255e17f0..241e0511e 100644 --- a/src/Items/ItemLighter.h +++ b/src/Items/ItemLighter.h @@ -56,7 +56,6 @@ public: case E_BLOCK_TNT: { // Activate the TNT: - a_World->BroadcastSoundEffect("entity.tnt.primed", Vector3d(a_BlockX, a_BlockY, a_BlockZ), 1.0f, 1.0f); a_World->SetBlock(a_BlockX, a_BlockY, a_BlockZ, E_BLOCK_AIR, 0); a_World->SpawnPrimedTNT({a_BlockX + 0.5, a_BlockY + 0.5, a_BlockZ + 0.5}); // 80 ticks to boom break; -- cgit v1.2.3