summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2013-12-19 22:18:05 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2013-12-19 22:18:05 +0100
commit32d117a4988a55d8968fcc483d6d5614ef6c04dd (patch)
tree19d36bda0aa0bdb638fb0317fd35f7451e99193a /src
parentYou can get fish from fishing :D. Only one type of fish though. (diff)
downloadcuberite-32d117a4988a55d8968fcc483d6d5614ef6c04dd.tar
cuberite-32d117a4988a55d8968fcc483d6d5614ef6c04dd.tar.gz
cuberite-32d117a4988a55d8968fcc483d6d5614ef6c04dd.tar.bz2
cuberite-32d117a4988a55d8968fcc483d6d5614ef6c04dd.tar.lz
cuberite-32d117a4988a55d8968fcc483d6d5614ef6c04dd.tar.xz
cuberite-32d117a4988a55d8968fcc483d6d5614ef6c04dd.tar.zst
cuberite-32d117a4988a55d8968fcc483d6d5614ef6c04dd.zip
Diffstat (limited to 'src')
-rw-r--r--src/Entities/Floater.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Floater.cpp b/src/Entities/Floater.cpp
index ebbf72b63..c467961c6 100644
--- a/src/Entities/Floater.cpp
+++ b/src/Entities/Floater.cpp
@@ -33,7 +33,7 @@ void cFloater::Tick(float a_Dt, cChunk & a_Chunk)
{
if (m_World->GetTickRandomNumber(100) == 0)
{
- SetSpeedY(-1);
+ SetPosY(GetPosY() - 1);
m_CanPickupItem = true;
m_PickupCountDown = 20;
LOGD("Floater %i can be picked up", GetUniqueID());