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-04-28 17:16:50 +0000
committerStijn Buys <ingar@osirion.org>2008-04-28 17:16:50 +0000
commite63cce2346dec6f34efd6daf5fde50bd2b1c45d3 (patch)
tree0a5f2b2d8a13e6aa61d0c865c48d66cd98366bb7 /src/client/input.cc
parent84d474fd3bd78f5ba6dcee65323f267fa8061b03 (diff)
fix camera orientation, adjust pitch rotation to video aspect
Diffstat (limited to 'src/client/input.cc')
-rw-r--r--src/client/input.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/input.cc b/src/client/input.cc
index 99fe638..d10c8bc 100644
--- a/src/client/input.cc
+++ b/src/client/input.cc
@@ -280,7 +280,7 @@ void frame(float seconds)
core::localcontrol()->set_thrust(local_thrust);
core::localcontrol()->set_direction(local_turn);
- core::localcontrol()->set_pitch(local_pitch);
+ core::localcontrol()->set_pitch(local_pitch / video::aspect );
}
}