From 5ab99429d4551a9e6cdfbe8349386a3aeec47360 Mon Sep 17 00:00:00 2001 From: krzys-h Date: Sat, 28 May 2016 00:00:08 +0200 Subject: [PATCH] Fixed FIX camera up/down movement --- src/graphics/engine/camera.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/graphics/engine/camera.cpp b/src/graphics/engine/camera.cpp index b713bc67..e0cfaa79 100644 --- a/src/graphics/engine/camera.cpp +++ b/src/graphics/engine/camera.cpp @@ -1406,7 +1406,6 @@ bool CCamera::EventFrameFix(const Event &event) m_fixDist += cameraMove.z; m_fixDirectionH = Math::NormAngle(m_fixDirectionH); - m_fixDirectionV = Math::NormAngle(m_fixDirectionV); m_fixDirectionV = Math::Clamp(m_fixDirectionV, -0.5f*Math::PI, 0.25f*Math::PI); m_fixDist = Math::Clamp(m_fixDist, 10.0f, 200.0f);