mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-16 18:05:22 +02:00
Limit stepheight smoothing to the stepheight and stop smoothing during jumps (#11705)
This commit is contained in:
committed by
GitHub
parent
660e63dbae
commit
1e26e45530
@@ -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;
|
||||
|
Reference in New Issue
Block a user