From 5628a2b823dfdc2bc812fff22b7d3b52e62e9451 Mon Sep 17 00:00:00 2001 From: scrawl Date: Thu, 28 May 2015 03:47:53 +0200 Subject: [PATCH] Camera zoom fix --- apps/openmw/mwrender/camera.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/openmw/mwrender/camera.cpp b/apps/openmw/mwrender/camera.cpp index 3982e5ad4..a945a171e 100644 --- a/apps/openmw/mwrender/camera.cpp +++ b/apps/openmw/mwrender/camera.cpp @@ -319,9 +319,9 @@ namespace MWRender if (dist >= mFurthest) { dist = mFurthest; } else if (!override && dist < 10.f) { - dist = -10.f; + dist = 10.f; } else if (override && dist <= mNearest) { - dist = -mNearest; + dist = mNearest; mIsNearest = true; } mCameraDistance = dist;