summaryrefslogtreecommitdiff
path: root/src/camera.h
diff options
context:
space:
mode:
authorLouis Pearson <desttinghimgame@gmail.com>2017-04-25 06:11:51 -0500
committerZeno- <kde.psych@gmail.com>2017-04-25 21:11:51 +1000
commitdb17225a976e20c6628afe70dd6b230673287b4d (patch)
tree67aa28779d86ad6e995171218ae9578159ebc652 /src/camera.h
parenta7e131f53e211ffbe38d34d23b33e13cc401f013 (diff)
downloadminetest-db17225a976e20c6628afe70dd6b230673287b4d.tar.gz
minetest-db17225a976e20c6628afe70dd6b230673287b4d.tar.bz2
minetest-db17225a976e20c6628afe70dd6b230673287b4d.zip
Footsteps without view bobbing (#5645)
* Remove redundant view_bobbing setting Also fixes bug where disabling view_bobbing disables footstep sounds. * Removes redundant view_bobbing setting Setting view_bobbing amount to 0 is now the only way to turn view_bobbing on and off. Also fixed a bug where footstep sounds would not play when view_bobbing was disabled.
Diffstat (limited to 'src/camera.h')
-rw-r--r--src/camera.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/camera.h b/src/camera.h
index f57efdf10..e4c1d0b25 100644
--- a/src/camera.h
+++ b/src/camera.h
@@ -231,7 +231,6 @@ private:
f32 m_cache_view_bobbing_amount;
f32 m_cache_fov;
f32 m_cache_zoom_fov;
- bool m_cache_view_bobbing;
std::list<Nametag *> m_nametags;
};