summaryrefslogtreecommitdiff
path: root/src/game/bg_pmove.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/bg_pmove.c')
-rw-r--r--src/game/bg_pmove.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/bg_pmove.c b/src/game/bg_pmove.c
index 0a6f1923..59269469 100644
--- a/src/game/bg_pmove.c
+++ b/src/game/bg_pmove.c
@@ -291,8 +291,8 @@ static void PM_Friction( void )
// when landing a dodge, extra friction
if( pm->ps->pm_flags & PMF_TIME_LAND )
- friction *= 1.f + HUMAN_LAND_FRICTION *
- pm->ps->pm_time / HUMAN_DODGE_TIMEOUT;
+ friction *= 1.0f + HUMAN_LAND_FRICTION *
+ pm->ps->pm_time / HUMAN_DODGE_TIMEOUT;
control = speed < stopSpeed ? stopSpeed : speed;
drop += control * friction * pml.frametime;