mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-15 01:25:20 +02:00
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.
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user