From 6cd1a38f1d3a0a45846d63a75475400372af1277 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 8 Nov 2008 16:51:28 +0000 Subject: moved message functions into Player class --- src/client/input.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/client/input.cc') 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 -- cgit v1.2.3