From ba416391cc15f4ba2538069a4d0e5b595a518548 Mon Sep 17 00:00:00 2001 From: Roman Tetelman Date: Sat, 3 Oct 2009 12:57:19 +0000 Subject: * remove extra landing friction from dodge --- src/game/bg_pmove.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/game') 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; } -- cgit