From: divverent Date: Wed, 19 May 2010 06:10:33 +0000 (+0000) Subject: fix stairsmoothing annoyance through warpzones X-Git-Tag: xonotic-v0.1.0preview~230^2~276 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f08238685a7cddc0363dc446866ce20ea2575f38;p=xonotic%2Fdarkplaces.git fix stairsmoothing annoyance through warpzones git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10202 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/view.c b/view.c index dafe981d..15b3f597 100644 --- a/view.c +++ b/view.c @@ -468,7 +468,7 @@ void V_CalcRefdef (void) else { // smooth stair stepping, but only if onground and enabled - if (!cl.onground || cl_stairsmoothspeed.value <= 0) + if (!cl.onground || cl_stairsmoothspeed.value <= 0 || !ent->persistent.trail_allowed) // FIXME use a better way to detect teleport/warp cl.stairsmoothz = vieworg[2]; else {