From 53ae3575169a5368f187b88a9d8c8cceeadd2c16 Mon Sep 17 00:00:00 2001 From: divverent Date: Wed, 19 May 2010 06:10:33 +0000 Subject: [PATCH] fix stairsmoothing annoyance through warpzones git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10202 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=f08238685a7cddc0363dc446866ce20ea2575f38 --- view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.39.2