Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-11-08 16:51:28 +0000
committerStijn Buys <ingar@osirion.org>2008-11-08 16:51:28 +0000
commit6cd1a38f1d3a0a45846d63a75475400372af1277 (patch)
tree35bc79e34fe727fc387103a183f80b203c6dfa12 /src/client
parent731dfb8f3ca9c34e4160021cb221c3056c00dbf9 (diff)
moved message functions into Player class
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