Skip to content

Commit

Permalink
Increase max zoom limit
Browse files Browse the repository at this point in the history
To a limit that fits to the biggest maps
  • Loading branch information
Jupeyy committed Nov 12, 2023
1 parent 4f1fc71 commit 39b3249
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/client/components/camera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ void CCamera::ScaleZoom(float Factor)

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()
Expand Down

0 comments on commit 39b3249

Please sign in to comment.