X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=sv_move.c;h=9fc5b31d3d05545266eadc5fa3f26aa7fa450cff;hb=fbf1b6e59f36920a1deaa277178c4c7023128fa7;hp=6feab85de899d31c403c2d4fde261b5faf873c7b;hpb=e24d834dcbcc61f28fdf0e2c1ba75693d9e23ed1;p=xonotic%2Fdarkplaces.git diff --git a/sv_move.c b/sv_move.c index 6feab85d..9fc5b31d 100644 --- a/sv_move.c +++ b/sv_move.c @@ -161,14 +161,11 @@ qboolean SV_movestep (edict_t *ent, vec3_t move, qboolean relink) trace = SV_Move (neworg, ent->v->mins, ent->v->maxs, end, MOVE_NORMAL, ent); - if (trace.allsolid) - return false; - if (trace.startsolid) { neworg[2] -= sv_stepheight.value; trace = SV_Move (neworg, ent->v->mins, ent->v->maxs, end, MOVE_NORMAL, ent); - if (trace.allsolid || trace.startsolid) + if (trace.startsolid) return false; } if (trace.fraction == 1)