From 39b3249bf5d4a79a7005f4857188e933fe605afa Mon Sep 17 00:00:00 2001 From: Jupeyy Date: Sun, 12 Nov 2023 21:36:20 +0100 Subject: [PATCH] Increase max zoom limit To a limit that fits to the biggest maps --- 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 3937b42b9..9dc393a90 100644 --- a/src/game/client/components/camera.cpp +++ b/src/game/client/components/camera.cpp @@ -39,7 +39,7 @@ void CCamera::ScaleZoom(float Factor) float CCamera::MaxZoomLevel() { - return (g_Config.m_ClLimitMaxZoomLevel) ? ((Graphics()->IsTileBufferingEnabled() ? 60 : 30)) : std::numeric_limits::max(); + return (g_Config.m_ClLimitMaxZoomLevel) ? ((Graphics()->IsTileBufferingEnabled() ? 240 : 30)) : std::numeric_limits::max(); } float CCamera::MinZoomLevel()