diff options
Diffstat (limited to 'source/TNTEntity.cpp')
-rw-r--r-- | source/TNTEntity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/TNTEntity.cpp b/source/TNTEntity.cpp index 25e8f19ce..84b56d01a 100644 --- a/source/TNTEntity.cpp +++ b/source/TNTEntity.cpp @@ -66,7 +66,7 @@ void cTNTEntity::Tick(float a_Dt, cChunk & a_Chunk) { 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())); + m_World->DoExplosiontAt(4.0, GetPosX() + 0.49, GetPosY() + 0.49, GetPosZ() + 0.49, true, esPrimedTNT, this); return; } } |