From b0ac508d91891d7fb25f3ba21ae719af782fdb19 Mon Sep 17 00:00:00 2001 From: yuni Date: Wed, 22 May 2024 04:11:39 +0200 Subject: [PATCH] enable zoom outside of augmented reality (why confuse the player?) --- README.md | 4 ++-- src/camera.rs | 2 +- src/data/keybindings.in | 4 +--- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 12d9f8f..58871b2 100644 --- a/README.md +++ b/README.md @@ -44,8 +44,8 @@ Press **ESC** to view these any time from the in-game menu. - **J/K/U/L/I/O**: Rotate - **F11**: Fullscreen - **Tab**: Toggle Augmented Reality -- **Left click**: Target objects (AR only) -- **Right click**: Zoom (AR only) +- **Left click**: Target objects (in AR only) +- **Right click**: Zoom Cheats: diff --git a/src/camera.rs b/src/camera.rs index be0e19b..ca18702 100644 --- a/src/camera.rs +++ b/src/camera.rs @@ -288,7 +288,7 @@ pub fn update_fov( if let (Ok(gforce), Ok(mut projection)) = (q_player.get_single(), q_camera.get_single_mut()) { let fov: f32; - if settings.hud_active && mouse_input.pressed(settings.key_zoom) { + if mouse_input.pressed(settings.key_zoom) { fov = settings.zoom_fov.to_radians(); if !settings.is_zooming { settings.is_zooming = true; diff --git a/src/data/keybindings.in b/src/data/keybindings.in index 132e60a..4b4b523 100644 --- a/src/data/keybindings.in +++ b/src/data/keybindings.in @@ -11,9 +11,7 @@ AWSD/Shift/Ctrl: Move J/K/U/L/I/O: Rotate F11: Fullscreen Tab: Toggle Augmented Reality - -Augmented Reality only: -Left click: Target objects +Left click: Target objects (in AR only) Right click: Zoom Cheats: