From 1c9f05d792562374046e74ad3eb75988d529b15c Mon Sep 17 00:00:00 2001
From: Calinou <calinou@opmbx.org>
Date: Sun, 26 Oct 2014 11:13:00 +0100
Subject: [PATCH] Increase step smoothing to fit 1:1 stairs (works well on
 slabs too)

Signed-off-by: Craig Robbins <kde.psych@gmail.com>
---
 src/camera.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/camera.cpp b/src/camera.cpp
index 0b4e4fd53..09e3c836a 100644
--- a/src/camera.cpp
+++ b/src/camera.cpp
@@ -255,7 +255,7 @@ void Camera::update(LocalPlayer* player, f32 frametime, f32 busytime,
 	{
 		f32 oldy = old_player_position.Y;
 		f32 newy = player_position.Y;
-		f32 t = exp(-23*frametime);
+		f32 t = exp(-10*frametime);
 		player_position.Y = oldy * t + newy * (1-t);
 	}
 
-- 
GitLab