Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/input.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/client/input.cc b/src/client/input.cc
index 026237e..9cb48a1 100644
--- a/src/client/input.cc
+++ b/src/client/input.cc
@@ -827,8 +827,10 @@ void frame()
if ((render::Camera::mode() == render::Camera::Track) || (render::Camera::mode() == render::Camera::Cockpit)) {
- local_direction = mouse_direction * math::absf(mouse_direction);
- local_pitch = mouse_pitch * math::absf(mouse_pitch);
+ //local_direction = mouse_direction * math::absf(mouse_direction);
+ //local_pitch = mouse_pitch * math::absf(mouse_pitch);
+ local_direction = mouse_direction;
+ local_pitch = mouse_pitch;
} else if (render::Camera::mode() == render::Camera::Free) {
// squared values to smoothen camera movement