aboutsummaryrefslogtreecommitdiff
path: root/src/camera.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/camera.cpp')
-rw-r--r--src/camera.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/camera.cpp b/src/camera.cpp
index e1d6dd910..e1fec4a3e 100644
--- a/src/camera.cpp
+++ b/src/camera.cpp
@@ -390,7 +390,7 @@ void Camera::update(LocalPlayer* player, f32 frametime, f32 busytime,
// Get FOV
f32 fov_degrees;
- if (player->getPlayerControl().zoom) {
+ if (player->getPlayerControl().zoom && m_gamedef->checkLocalPrivilege("zoom")) {
fov_degrees = m_cache_zoom_fov;
} else {
fov_degrees = m_cache_fov;