Removed the requirement to have the Freelook option enabled for the freelook hotkeys to work.
This commit is contained in:
parent
d080632527
commit
d2abbcd353
|
@ -1440,8 +1440,6 @@ void CFrame::ParseHotkeys(wxKeyEvent &event)
|
||||||
OnConnectWiimote(evt);
|
OnConnectWiimote(evt);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (g_Config.bFreeLook)
|
|
||||||
{
|
|
||||||
static float debugSpeed = 1.0f;
|
static float debugSpeed = 1.0f;
|
||||||
|
|
||||||
if (IsHotkey(event, HK_FREELOOK_DECREASE_SPEED))
|
if (IsHotkey(event, HK_FREELOOK_DECREASE_SPEED))
|
||||||
|
@ -1465,5 +1463,4 @@ void CFrame::ParseHotkeys(wxKeyEvent &event)
|
||||||
else if (IsHotkey(event, HK_FREELOOK_RESET))
|
else if (IsHotkey(event, HK_FREELOOK_RESET))
|
||||||
VertexShaderManager::ResetView();
|
VertexShaderManager::ResetView();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue