Return step smoothing value to 23
authorparamat <mat.gregory@virginmedia.com>
Wed, 7 Jan 2015 12:22:33 +0000 (12:22 +0000)
committerCraig Robbins <kde.psych@gmail.com>
Thu, 8 Jan 2015 05:06:28 +0000 (15:06 +1000)
src/camera.cpp

index df7ea35b12e737697eccd30a13ff197a0c2f8de8..5200f71ba70c7bf682388ed1fd0c5a43743e3cfd 100644 (file)
@@ -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);
        }