Make highlighting of devices in use more selective
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12194 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -284,7 +284,7 @@ void OptionsScreenInput::filterInput(Input::InputType type,
|
||||
}
|
||||
}
|
||||
|
||||
if (internal_name.size() > 0)
|
||||
if (internal_name.size() > 0 && abs(value) > Input::MAX_VALUE/2)
|
||||
{
|
||||
devices->markItemRed(internal_name.c_str());
|
||||
m_highlights[internal_name] = 0.25f;
|
||||
|
||||
Reference in New Issue
Block a user