summaryrefslogtreecommitdiffstats
path: root/src/Entities
diff options
context:
space:
mode:
Diffstat (limited to 'src/Entities')
-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());