enable zoom outside of augmented reality (why confuse the player?)

This commit is contained in:
yuni 2024-05-22 04:11:39 +02:00
parent 14a22699bc
commit b0ac508d91
3 changed files with 4 additions and 6 deletions

View file

@ -44,8 +44,8 @@ Press **ESC** to view these any time from the in-game menu.
- **J/K/U/L/I/O**: Rotate - **J/K/U/L/I/O**: Rotate
- **F11**: Fullscreen - **F11**: Fullscreen
- **Tab**: Toggle Augmented Reality - **Tab**: Toggle Augmented Reality
- **Left click**: Target objects (AR only) - **Left click**: Target objects (in AR only)
- **Right click**: Zoom (AR only) - **Right click**: Zoom
Cheats: Cheats:

View file

@ -288,7 +288,7 @@ pub fn update_fov(
if let (Ok(gforce), Ok(mut projection)) = (q_player.get_single(), q_camera.get_single_mut()) if let (Ok(gforce), Ok(mut projection)) = (q_player.get_single(), q_camera.get_single_mut())
{ {
let fov: f32; 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(); fov = settings.zoom_fov.to_radians();
if !settings.is_zooming { if !settings.is_zooming {
settings.is_zooming = true; settings.is_zooming = true;

View file

@ -11,9 +11,7 @@ AWSD/Shift/Ctrl: Move
J/K/U/L/I/O: Rotate J/K/U/L/I/O: Rotate
F11: Fullscreen F11: Fullscreen
Tab: Toggle Augmented Reality Tab: Toggle Augmented Reality
Left click: Target objects (in AR only)
Augmented Reality only:
Left click: Target objects
Right click: Zoom Right click: Zoom
Cheats: Cheats: