mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 06:28:19 +00:00
Merge pull request #7446 from Jupeyy/pr_max_zoom_limit
Increase max zoom limit
This commit is contained in:
commit
fb490e47fb
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue