Let CInputManager select only action hotkeys applicable to local machine

So far, CInputManager did not properly ignore action hotkey settings
which did not belong to the local machine.

refs #881
This commit is contained in:
Roland Winklmeier
2017-03-05 14:08:45 +01:00
committed by Mathew Sutcliffe
parent 9749bb5d31
commit 0c8f2f596e

View File

@@ -72,6 +72,7 @@ namespace BlackCore
m_configuredActions.clear();
for (CActionHotkey actionHotkey : m_actionHotkeys.getThreadLocal())
{
if (!actionHotkey.getApplicableMachine().isFromLocalMachine()) { continue; }
CHotkeyCombination combination = actionHotkey.getCombination();
if (combination.isEmpty()) continue;