diff options
author | Roman Tetelman <kevlarman@gmail.com> | 2009-10-03 12:57:19 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:16:21 +0000 |
commit | ba416391cc15f4ba2538069a4d0e5b595a518548 (patch) | |
tree | a0b7cc89dd7b505d45b1e23ec9808c741e9ad196 /src/game | |
parent | 3f14cbc92eb9f543f366c7dfde9fd8f1faf7e7ae (diff) |
* remove extra landing friction from dodge
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/bg_pmove.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/game/bg_pmove.c b/src/game/bg_pmove.c index 59269469..c876b777 100644 --- a/src/game/bg_pmove.c +++ b/src/game/bg_pmove.c @@ -289,11 +289,6 @@ static void PM_Friction( void ) float stopSpeed = BG_Class( pm->ps->stats[ STAT_CLASS ] )->stopSpeed; float friction = BG_Class( pm->ps->stats[ STAT_CLASS ] )->friction; - // when landing a dodge, extra friction - if( pm->ps->pm_flags & PMF_TIME_LAND ) - friction *= 1.0f + HUMAN_LAND_FRICTION * - pm->ps->pm_time / HUMAN_DODGE_TIMEOUT; - control = speed < stopSpeed ? stopSpeed : speed; drop += control * friction * pml.frametime; } |