From 75a254fccb0302273baa5a331b0c9e08bb54ca62 Mon Sep 17 00:00:00 2001 From: "keyboard.osh@gmail.com" Date: Sun, 28 Apr 2013 20:22:15 +0000 Subject: TNT: Added physics to TNT entity git-svn-id: http://mc-server.googlecode.com/svn/trunk@1435 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/TNTEntity.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/TNTEntity.cpp') 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 -- cgit v1.2.3