From b4c41adac4307201d63226100088196c632f6430 Mon Sep 17 00:00:00 2001 From: iwubcode Date: Fri, 19 Jun 2020 01:13:48 -0500 Subject: [PATCH] Core: Only respond to Free Look controller buttons when the camera is active --- Source/Core/Core/FreeLookManager.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Core/Core/FreeLookManager.cpp b/Source/Core/Core/FreeLookManager.cpp index a7b6f2a928..5e6de4e200 100644 --- a/Source/Core/Core/FreeLookManager.cpp +++ b/Source/Core/Core/FreeLookManager.cpp @@ -146,6 +146,9 @@ ControllerEmu::ControlGroup* FreeLookController::GetGroup(FreeLookGroup group) c void FreeLookController::Update() { + if (!g_freelook_camera.IsActive()) + return; + if (m_move_buttons->controls[MoveButtons::Up]->GetState()) g_freelook_camera.MoveVertical(-g_freelook_camera.GetSpeed());