summaryrefslogtreecommitdiffstats
path: root/source/Pickup.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/Pickup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Pickup.cpp b/source/Pickup.cpp
index ae4db86bb..19a825cc1 100644
--- a/source/Pickup.cpp
+++ b/source/Pickup.cpp
@@ -26,13 +26,13 @@
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_Speed( a_SpeedX, a_SpeedY, a_SpeedZ )
, m_bOnGround( false )
, m_bReplicated( false )
, m_Timer( 0.f )
, m_Item(a_Item)
, m_bCollected( false )
{
+ m_Speed.Set(a_SpeedX, a_SpeedY, a_SpeedZ);
}