Redundant check is redundant

This commit is contained in:
Lirusaito
2014-05-26 09:32:50 -04:00
parent d372fa1a0f
commit ef7f309012

View File

@@ -276,7 +276,7 @@ void LLViewerJoystick::init(bool autoenable)
gSavedSettings.setString("JoystickInitialized", "SpaceNavigator"); gSavedSettings.setString("JoystickInitialized", "SpaceNavigator");
} }
} }
else if (isJoystickInitialized() && getDescription().find("Xbox") != std::string::npos) else if (getDescription().find("Xbox") != std::string::npos)
{ {
sType = XBOX; sType = XBOX;
// It's an Xbox controller, we have defaults for it. // It's an Xbox controller, we have defaults for it.