[colobot] 88/145: Fixed FIX camera up/down movement
Didier Raboud
odyx at moszumanska.debian.org
Mon Jul 11 12:56:20 UTC 2016
This is an automated email from the git hooks/post-receive script.
odyx pushed a commit to branch debian/master
in repository colobot.
commit 5ab99429d4551a9e6cdfbe8349386a3aeec47360
Author: krzys-h <krzys_h at interia.pl>
Date: Sat May 28 00:00:08 2016 +0200
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 b713bc6..e0cfaa7 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);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/colobot.git
More information about the Pkg-games-commits
mailing list