diff options
author | Stijn Buys <ingar@osirion.org> | 2015-01-06 22:02:54 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2015-01-06 22:02:54 +0000 |
commit | 5f2455a23a4f94a5ac1d25d072279845060b2e3b (patch) | |
tree | ddff51e8ef15579827b326d9175da8f8ed0bd4dd | |
parent | 7e3684dba968d2129caf4deff344c4f099640a68 (diff) |
Resolved a minor issue with the control lock button.
-rw-r--r-- | src/client/hudenginestatus.cc | 2 |
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()) { |