summaryrefslogtreecommitdiffstats
path: root/source/Pickup.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/Pickup.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/Pickup.cpp b/source/Pickup.cpp
index 19a825cc1..d27a2aba7 100644
--- a/source/Pickup.cpp
+++ b/source/Pickup.cpp
@@ -26,6 +26,7 @@
cPickup::cPickup(int a_MicroPosX, int a_MicroPosY, int a_MicroPosZ, const cItem & a_Item, float a_SpeedX /* = 0.f */, float a_SpeedY /* = 0.f */, float a_SpeedZ /* = 0.f */)
: cEntity(etPickup, ((double)(a_MicroPosX)) / 32, ((double)(a_MicroPosY)) / 32, ((double)(a_MicroPosZ)) / 32)
+ , m_Health(5)
, m_bOnGround( false )
, m_bReplicated( false )
, m_Timer( 0.f )