summaryrefslogtreecommitdiffstats
path: root/source/TNTEntity.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-25 08:36:59 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-25 08:36:59 +0200
commit4fe7801cfccbfa6f5a42ac2eb919287ef98ea611 (patch)
tree4afeac98622e2a49894164651af7b8d70d91d254 /source/TNTEntity.cpp
parentActivatorRail is craftable (Patch by tonibm19) (diff)
downloadcuberite-4fe7801cfccbfa6f5a42ac2eb919287ef98ea611.tar
cuberite-4fe7801cfccbfa6f5a42ac2eb919287ef98ea611.tar.gz
cuberite-4fe7801cfccbfa6f5a42ac2eb919287ef98ea611.tar.bz2
cuberite-4fe7801cfccbfa6f5a42ac2eb919287ef98ea611.tar.lz
cuberite-4fe7801cfccbfa6f5a42ac2eb919287ef98ea611.tar.xz
cuberite-4fe7801cfccbfa6f5a42ac2eb919287ef98ea611.tar.zst
cuberite-4fe7801cfccbfa6f5a42ac2eb919287ef98ea611.zip
Diffstat (limited to 'source/TNTEntity.cpp')
-rw-r--r--source/TNTEntity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/TNTEntity.cpp b/source/TNTEntity.cpp
index 32850e246..53981eee7 100644
--- a/source/TNTEntity.cpp
+++ b/source/TNTEntity.cpp
@@ -60,7 +60,7 @@ void cTNTEntity::Tick(float a_Dt, cChunk & a_Chunk)
m_Counter += delta_time;
if (m_Counter > m_MaxFuseTime) // Check if we go KABOOOM
{
- Destroy();
+ Destroy(true);
LOGD("BOOM at {%f,%f,%f}", GetPosX(), GetPosY(), GetPosZ());
m_World->DoExplosiontAt(4.0, (int)floor(GetPosX()), (int)floor(GetPosY()), (int)floor(GetPosZ()));
return;