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:
hikerstk 2010-02-17 00:08:10 +00:00
parent 8c319e87f9
commit 895324adbb

View File

@ -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;