summaryrefslogtreecommitdiffstats
path: root/source/cPickup.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/cPickup.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/cPickup.cpp b/source/cPickup.cpp
index c665577f0..9e9dc2666 100644
--- a/source/cPickup.cpp
+++ b/source/cPickup.cpp
@@ -197,7 +197,7 @@ void cPickup::HandlePhysics(float a_Dt)
Direction WaterDir = World->GetWaterSimulator()->GetFlowingDirection((int) m_Pos->x - 1, (int) m_Pos->y, (int) m_Pos->z - 1);
- *m_WaterSpeed *= 0.9; //Keep old speed but lower it
+ *m_WaterSpeed *= 0.9f; //Keep old speed but lower it
switch(WaterDir)
{
@@ -256,7 +256,7 @@ void cPickup::HandlePhysics(float a_Dt)
}
}
*m_Pos = Tracer.RealHit;
- *m_Pos += *Tracer.HitNormal * 0.2;
+ *m_Pos += *Tracer.HitNormal * 0.2f;
}
else