Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2015-01-06 22:02:54 +0000
committerStijn Buys <ingar@osirion.org>2015-01-06 22:02:54 +0000
commit5f2455a23a4f94a5ac1d25d072279845060b2e3b (patch)
treeddff51e8ef15579827b326d9175da8f8ed0bd4dd /src
parent7e3684dba968d2129caf4deff344c4f099640a68 (diff)
Resolved a minor issue with the control lock button.
Diffstat (limited to 'src')
-rw-r--r--src/client/hudenginestatus.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/hudenginestatus.cc b/src/client/hudenginestatus.cc
index 29b660a..1283970 100644
--- a/src/client/hudenginestatus.cc
+++ b/src/client/hudenginestatus.cc
@@ -94,7 +94,7 @@ void HUDEngineStatus::draw()
// autopilot and control lock buttons
// see HUD::draw()
- const bool control_lock = ((core::localcontrol() && (input::mouse_control || input::joystick_control) && (render::Camera::mode() == render::Camera::Cockpit || render::Camera::mode() == render::Camera::Track)) ? false : true);
+ const bool control_lock = !input::mouse_control;
if (core::localplayer()->autopilot_target())
{