From 1e4a3c79e760162b7a63a415a1fc43500c416ff0 Mon Sep 17 00:00:00 2001 From: CobaltXII Date: Thu, 3 Jan 2019 12:24:48 -0500 Subject: [PATCH] View bobbing is now much more exaggerated --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 446b51e..4b8d36c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -907,9 +907,9 @@ int main(int argc, char** argv) // Calculate the view bobbing factor. - float view_bobbing = sqrt(player_vx * player_vx + player_vz * player_vz) / 0.1440f; + float view_bobbing = sqrt(player_vx * player_vx + player_vz * player_vz) / 0.0640f; - if (view_bobbing < 0.0064f) + if (view_bobbing < 0.0128f) { view_bobbing = 0.0f; }