diff options
-rw-r--r-- | source/client/StarClientApplication.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/client/StarClientApplication.cpp b/source/client/StarClientApplication.cpp index 908d0da..b4b79b0 100644 --- a/source/client/StarClientApplication.cpp +++ b/source/client/StarClientApplication.cpp @@ -1044,7 +1044,7 @@ void ClientApplication::updateRunning(float dt) { newZoom = lerp(clamp(abs(intZoom - newZoom) - 1.f, 0.f, 1.f), intZoom, intNewZoom); m_cameraZoomDirection = 0; } - config->set("zoomLevel", newZoom); + config->set("zoomLevel", min(1000000.f, newZoom)); } if (m_controllerInput && m_controllerLeftStick.magnitudeSquared() > 0.01f) |