summaryrefslogtreecommitdiffstats
path: root/source/Entities/ProjectileEntity.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-11-14 23:39:14 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-11-14 23:39:14 +0100
commit15c330664a78a34b5138ec5fc8089b77656e172e (patch)
tree7dd31cc8c017c7070aad7b081b9004148c8ba02d /source/Entities/ProjectileEntity.h
parentMerge pull request #344 from marmot21/playerxp (diff)
downloadcuberite-15c330664a78a34b5138ec5fc8089b77656e172e.tar
cuberite-15c330664a78a34b5138ec5fc8089b77656e172e.tar.gz
cuberite-15c330664a78a34b5138ec5fc8089b77656e172e.tar.bz2
cuberite-15c330664a78a34b5138ec5fc8089b77656e172e.tar.lz
cuberite-15c330664a78a34b5138ec5fc8089b77656e172e.tar.xz
cuberite-15c330664a78a34b5138ec5fc8089b77656e172e.tar.zst
cuberite-15c330664a78a34b5138ec5fc8089b77656e172e.zip
Diffstat (limited to '')
-rw-r--r--source/Entities/ProjectileEntity.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/Entities/ProjectileEntity.h b/source/Entities/ProjectileEntity.h
index 28dd76935..f62b53a42 100644
--- a/source/Entities/ProjectileEntity.h
+++ b/source/Entities/ProjectileEntity.h
@@ -83,7 +83,7 @@ protected:
/// True if the projectile has hit the ground and is stuck there
bool m_IsInGround;
-
+
// cEntity overrides:
virtual void Tick(float a_Dt, cChunk & a_Chunk) override;
virtual void HandlePhysics(float a_Dt, cChunk & a_Chunk) override;
@@ -159,6 +159,8 @@ protected:
/// Timer for pickup collection animation or five minute timeout
float m_Timer;
+ float m_HitGroundTimer;
+
/// If true, the arrow is in the process of being collected - don't go to anyone else
bool m_bIsCollected;