aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHybridDog <ovvv@web.de>2018-11-12 19:34:47 +0100
committerSmallJoker <SmallJoker@users.noreply.github.com>2018-11-12 19:34:47 +0100
commit98ee08904b3a11d9b64a95edebd4d8852d4a2301 (patch)
treeadf9dc8c7c45a2328a14717b12d2da93cd3f8482
parent81d55338fa26cf26d43e1e632b9a089a787230dd (diff)
downloadminetest-98ee08904b3a11d9b64a95edebd4d8852d4a2301.tar.gz
minetest-98ee08904b3a11d9b64a95edebd4d8852d4a2301.tar.bz2
minetest-98ee08904b3a11d9b64a95edebd4d8852d4a2301.zip
Enable subtle fall bobbing (#7856)
Set the default value of fall_bobbing_amount to 0.03
-rw-r--r--builtin/settingtypes.txt2
-rw-r--r--src/defaultsettings.cpp2
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");