From 56a89fd265d07d2b27c9412927ce29c7b5f704c2 Mon Sep 17 00:00:00 2001 From: paramat Date: Wed, 7 Jan 2015 12:22:33 +0000 Subject: [PATCH] Return step smoothing value to 23 --- src/camera.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/camera.cpp b/src/camera.cpp index df7ea35b..5200f71b 100644 --- a/src/camera.cpp +++ b/src/camera.cpp @@ -270,7 +270,7 @@ void Camera::update(LocalPlayer* player, f32 frametime, f32 busytime, { f32 oldy = old_player_position.Y; f32 newy = player_position.Y; - f32 t = exp(-10*frametime); + f32 t = exp(-23*frametime); player_position.Y = oldy * t + newy * (1-t); }