From 7f124f63917d117946e2c0d76abee7dc3cdedef5 Mon Sep 17 00:00:00 2001 From: Spoike Date: Sun, 3 Mar 2019 06:13:38 +0000 Subject: [PATCH] Fix edgefriction with nq physics. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5423 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/server/sv_user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/server/sv_user.c b/engine/server/sv_user.c index 950dcce50..a375b2eec 100644 --- a/engine/server/sv_user.c +++ b/engine/server/sv_user.c @@ -8666,7 +8666,7 @@ static void SV_UserFriction (void) trace = World_Move (&sv.world, start, vec3_origin, vec3_origin, stop, true, (wedict_t*)sv_player); if (trace.fraction == 1.0) - friction = sv_friction.value*pm_edgefriction.value; + friction = sv_friction.value*(*pm_edgefriction.string?pm_edgefriction.value:2); else friction = sv_friction.value;