diff options
author | madmaxoft <github@xoft.cz> | 2013-08-09 14:58:43 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-08-09 14:58:43 +0200 |
commit | d4a3c451c43454176af39aad5cede5281615a6ad (patch) | |
tree | a3dc0500db414ed3b03ca5b983353400dcae4bcd /source/TNTEntity.cpp | |
parent | Merge pull request #52 from ravenscroftj/feature/food (diff) | |
download | cuberite-d4a3c451c43454176af39aad5cede5281615a6ad.tar cuberite-d4a3c451c43454176af39aad5cede5281615a6ad.tar.gz cuberite-d4a3c451c43454176af39aad5cede5281615a6ad.tar.bz2 cuberite-d4a3c451c43454176af39aad5cede5281615a6ad.tar.lz cuberite-d4a3c451c43454176af39aad5cede5281615a6ad.tar.xz cuberite-d4a3c451c43454176af39aad5cede5281615a6ad.tar.zst cuberite-d4a3c451c43454176af39aad5cede5281615a6ad.zip |
Diffstat (limited to '')
-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; } } |