Merge pull request #7446 from Jupeyy/pr_max_zoom_limit

Increase max zoom limit
This commit is contained in:
Dennis Felsing 2023-11-12 21:50:02 +00:00 committed by GitHub
commit fb490e47fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,7 +39,7 @@ void CCamera::ScaleZoom(float Factor)
float CCamera::MaxZoomLevel() float CCamera::MaxZoomLevel()
{ {
return (g_Config.m_ClLimitMaxZoomLevel) ? ((Graphics()->IsTileBufferingEnabled() ? 60 : 30)) : std::numeric_limits<float>::max(); return (g_Config.m_ClLimitMaxZoomLevel) ? ((Graphics()->IsTileBufferingEnabled() ? 240 : 30)) : std::numeric_limits<float>::max();
} }
float CCamera::MinZoomLevel() float CCamera::MinZoomLevel()