1
0
Fork 0
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:
Jude Melton-Houghton 2021-10-25 14:31:14 -04:00 committed by GitHub
parent 660e63dbae
commit 1e26e45530
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 7 deletions

View file

@ -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;