From 4d34dd365b063291b52ab7784f519829c8f9a1da Mon Sep 17 00:00:00 2001 From: def Date: Sat, 11 Jul 2020 23:18:23 +0200 Subject: [PATCH] Limit zooming out further (fixes #2497) --- src/game/client/components/camera.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/client/components/camera.cpp b/src/game/client/components/camera.cpp index 6c3559af9..8be58096e 100644 --- a/src/game/client/components/camera.cpp +++ b/src/game/client/components/camera.cpp @@ -38,7 +38,7 @@ void CCamera::ScaleZoom(float Factor) void CCamera::ChangeZoom(float Target) { - if(Target >= 500.0f/ZoomStep) + if(Target >= (Graphics()->IsBufferingEnabled()? 60 : 30)) { return; }