Fixed FIX camera up/down movement

master
krzys-h 2016-05-28 00:00:08 +02:00
parent 250047579f
commit 5ab99429d4
1 changed files with 0 additions and 1 deletions
src/graphics/engine

View File

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