summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkeyboard.osh@gmail.com <keyboard.osh@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-04-28 22:22:15 +0200
committerkeyboard.osh@gmail.com <keyboard.osh@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-04-28 22:22:15 +0200
commit75a254fccb0302273baa5a331b0c9e08bb54ca62 (patch)
treefc21ea7e5153f74a05f56d0ba62904d38016e603
parentFixed compilation on Linux (diff)
downloadcuberite-75a254fccb0302273baa5a331b0c9e08bb54ca62.tar
cuberite-75a254fccb0302273baa5a331b0c9e08bb54ca62.tar.gz
cuberite-75a254fccb0302273baa5a331b0c9e08bb54ca62.tar.bz2
cuberite-75a254fccb0302273baa5a331b0c9e08bb54ca62.tar.lz
cuberite-75a254fccb0302273baa5a331b0c9e08bb54ca62.tar.xz
cuberite-75a254fccb0302273baa5a331b0c9e08bb54ca62.tar.zst
cuberite-75a254fccb0302273baa5a331b0c9e08bb54ca62.zip
-rw-r--r--source/TNTEntity.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/TNTEntity.cpp b/source/TNTEntity.cpp
index 636c9535c..4541a7c7f 100644
--- a/source/TNTEntity.cpp
+++ b/source/TNTEntity.cpp
@@ -54,6 +54,8 @@ void cTNTEntity::SpawnOn(cClientHandle & a_ClientHandle)
void cTNTEntity::Tick(float a_Dt, cChunk & a_Chunk)
{
+ super::Tick(a_Dt,a_Chunk);
+ BroadcastMovementUpdate();
float delta_time = a_Dt / 1000; //Convert miliseconds to seconds
m_Counter += delta_time;
if (m_Counter > m_MaxFuseTime) //Check if we go KABOOOM