summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-09-19 22:21:56 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-09-19 22:21:56 +0200
commit57dfdd32052b0480f62d62b40d559e80e069aeab (patch)
tree3a44d30764c5e8325d74c0f9dd9059b8c460d8fd /source
parentFixed new monster aggressiveness issue (diff)
downloadcuberite-57dfdd32052b0480f62d62b40d559e80e069aeab.tar
cuberite-57dfdd32052b0480f62d62b40d559e80e069aeab.tar.gz
cuberite-57dfdd32052b0480f62d62b40d559e80e069aeab.tar.bz2
cuberite-57dfdd32052b0480f62d62b40d559e80e069aeab.tar.lz
cuberite-57dfdd32052b0480f62d62b40d559e80e069aeab.tar.xz
cuberite-57dfdd32052b0480f62d62b40d559e80e069aeab.tar.zst
cuberite-57dfdd32052b0480f62d62b40d559e80e069aeab.zip
Diffstat (limited to 'source')
-rw-r--r--source/Entities/Pickup.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/Entities/Pickup.cpp b/source/Entities/Pickup.cpp
index 79a3a6274..075f93449 100644
--- a/source/Entities/Pickup.cpp
+++ b/source/Entities/Pickup.cpp
@@ -24,8 +24,8 @@
-cPickup::cPickup(double a_MicroPosX, double a_MicroPosY, double 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), (double)(a_MicroPosY), (double)(a_MicroPosZ), 0.2, 0.2)
+cPickup::cPickup(double a_X, double a_Y, double a_Z, const cItem & a_Item, float a_SpeedX /* = 0.f */, float a_SpeedY /* = 0.f */, float a_SpeedZ /* = 0.f */)
+ : cEntity(etPickup, a_X, a_Y, a_Z, 0.2, 0.2)
, m_Timer( 0.f )
, m_Item(a_Item)
, m_bCollected( false )