mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-16 18:01:40 +00:00
Limit stepheight smoothing to the stepheight and stop smoothing during jumps (#11705)
This commit is contained in:
parent
660e63dbae
commit
1e26e45530
2 changed files with 15 additions and 7 deletions
|
@ -218,6 +218,8 @@ private:
|
|||
// Camera offset
|
||||
v3s16 m_camera_offset;
|
||||
|
||||
bool m_stepheight_smooth_active = false;
|
||||
|
||||
// Server-sent FOV variables
|
||||
bool m_server_sent_fov = false;
|
||||
f32 m_curr_fov_degrees, m_old_fov_degrees, m_target_fov_degrees;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue