Limit zooming out further (fixes #2497)

This commit is contained in:
def 2020-07-11 23:18:23 +02:00
parent a0e96d58ea
commit 4d34dd365b

View file

@ -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;
}