From 5f2455a23a4f94a5ac1d25d072279845060b2e3b Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Tue, 6 Jan 2015 22:02:54 +0000 Subject: Resolved a minor issue with the control lock button. --- src/client/hudenginestatus.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client') 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()) { -- cgit v1.2.3