From 98ee08904b3a11d9b64a95edebd4d8852d4a2301 Mon Sep 17 00:00:00 2001 From: HybridDog Date: Mon, 12 Nov 2018 19:34:47 +0100 Subject: Enable subtle fall bobbing (#7856) Set the default value of fall_bobbing_amount to 0.03 --- builtin/settingtypes.txt | 2 +- src/defaultsettings.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index 13d3334d3..e190bfc22 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -629,7 +629,7 @@ view_bobbing_amount (View bobbing factor) float 1.0 # Multiplier for fall bobbing. # For example: 0 for no view bobbing; 1.0 for normal; 2.0 for double. -fall_bobbing_amount (Fall bobbing factor) float 0.0 +fall_bobbing_amount (Fall bobbing factor) float 0.03 # 3D support. # Currently supported: diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp index 9ae2daa0b..ff32ddc17 100644 --- a/src/defaultsettings.cpp +++ b/src/defaultsettings.cpp @@ -176,7 +176,7 @@ void set_default_settings(Settings *settings) settings->setDefault("cinematic_camera_smoothing", "0.7"); settings->setDefault("enable_clouds", "true"); settings->setDefault("view_bobbing_amount", "1.0"); - settings->setDefault("fall_bobbing_amount", "0.0"); + settings->setDefault("fall_bobbing_amount", "0.03"); settings->setDefault("enable_3d_clouds", "true"); settings->setDefault("cloud_radius", "12"); settings->setDefault("menu_clouds", "true"); -- cgit v1.2.3