Fixed gcc compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4748 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
8c319e87f9
commit
895324adbb
@ -63,8 +63,8 @@ bool DeviceConfig::getAction ( Input::InputType type,
|
||||
|
||||
if (type == Input::IT_STICKMOTION)
|
||||
{
|
||||
if ((m_bindings[n].dir == Input::AD_POSITIVE) && (value > 0) ||
|
||||
(m_bindings[n].dir == Input::AD_NEGATIVE) && (value < 0))
|
||||
if ( ((m_bindings[n].dir == Input::AD_POSITIVE) && (value > 0)) ||
|
||||
((m_bindings[n].dir == Input::AD_NEGATIVE) && (value < 0)) )
|
||||
{
|
||||
success = true;
|
||||
*action = (PlayerAction)n;
|
||||
|
Loading…
x
Reference in New Issue
Block a user