diff options
Diffstat (limited to 'src/client/hudenginestatus.cc')
-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 0eeafba..ab51709 100644 --- a/src/client/hudenginestatus.cc +++ b/src/client/hudenginestatus.cc @@ -95,7 +95,7 @@ void HUDEngineStatus::draw() // autopilot and control lock buttons // see HUD::draw() - const bool control_lock = !input::mouse_control; + const bool control_lock = !core::localcontrol()->has_target_controlflag(core::EntityControlable::ControlFlagOverride); if (core::localplayer()->autopilot_target()) { |