Skip to content

Commit

Permalink
Fix joystick guard test
Browse files Browse the repository at this point in the history
  • Loading branch information
mickelson committed Jan 18, 2020
1 parent 53386bf commit 431a940
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -402,8 +402,8 @@ int main(int argc, char *argv[])
//
if (( guard_joyid >= 0 )
&& ( std::abs( sf::Joystick::getAxisPosition(
guard_joyid, (sf::Joystick::Axis)guard_axis )
< feSettings.get_joy_thresh() )))
guard_joyid, (sf::Joystick::Axis)guard_axis ))
< feSettings.get_joy_thresh() ))
{
guard_joyid = -1;
guard_axis = -1;
Expand Down

0 comments on commit 431a940

Please sign in to comment.