diff options
Diffstat (limited to 'src/camera.cpp')
-rw-r--r-- | src/camera.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/camera.cpp b/src/camera.cpp index ba05329e5..290776bf3 100644 --- a/src/camera.cpp +++ b/src/camera.cpp @@ -351,7 +351,8 @@ void Camera::update(LocalPlayer* player, f32 frametime, v2u32 screensize, if ((hypot(speed.X, speed.Z) > BS) && (player->touching_ground) && (g_settings->getBool("view_bobbing") == true) && - (g_settings->getBool("free_move") == false)) + (g_settings->getBool("free_move") == false || + !m_gamedef->checkLocalPrivilege("fly"))) { // Start animation m_view_bobbing_state = 1; |