Fix edgefriction with nq physics.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5423 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
3d86dc56ac
commit
7f124f6391
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
trace = World_Move (&sv.world, start, vec3_origin, vec3_origin, stop, true, (wedict_t*)sv_player);
|
||||||
|
|
||||||
if (trace.fraction == 1.0)
|
if (trace.fraction == 1.0)
|
||||||
friction = sv_friction.value*pm_edgefriction.value;
|
friction = sv_friction.value*(*pm_edgefriction.string?pm_edgefriction.value:2);
|
||||||
else
|
else
|
||||||
friction = sv_friction.value;
|
friction = sv_friction.value;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue