]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - client.h
fixed stair smoothing code so it no longer jitters when riding lifts
[xonotic/darkplaces.git] / client.h
index 297b5d6b8b3152f72f6f467b524aa575ee836a8d..f53943dcb6aa045e6fe0ba001a333549fb1e6892 100644 (file)
--- a/client.h
+++ b/client.h
@@ -662,7 +662,8 @@ typedef struct client_state_s
        // use pain anim frame if cl.time < this
        float faceanimtime;
        // for stair smoothing
-       float stairoffset;
+       float stairsmoothz;
+       double stairsmoothtime;
 
        // color shifts for damage, powerups
        cshift_t cshifts[NUM_CSHIFTS];