diff options
Diffstat (limited to 'source/gameengine/GameLogic/Joystick/SCA_Joystick.cpp')
-rw-r--r-- | source/gameengine/GameLogic/Joystick/SCA_Joystick.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/gameengine/GameLogic/Joystick/SCA_Joystick.cpp b/source/gameengine/GameLogic/Joystick/SCA_Joystick.cpp index 48fa3257d20..b103c8c4050 100644 --- a/source/gameengine/GameLogic/Joystick/SCA_Joystick.cpp +++ b/source/gameengine/GameLogic/Joystick/SCA_Joystick.cpp @@ -51,11 +51,11 @@ SCA_Joystick::SCA_Joystick(short int index) m_istrig_button(0), m_istrig_hat(0) { - for (int i=0; i<JOYAXIS_MAX; i++) - m_axis_array[i]= 0; + for (int i=0; i < JOYAXIS_MAX; i++) + m_axis_array[i] = 0; - for (int i=0; i<JOYHAT_MAX; i++) - m_hat_array[i]= 0; + for (int i=0; i < JOYHAT_MAX; i++) + m_hat_array[i] = 0; #ifdef WITH_SDL m_private = new PrivateData(); @@ -127,7 +127,7 @@ void SCA_Joystick::ReleaseInstance() m_instance[i]->DestroyJoystickDevice(); delete m_instance[i]; } - m_instance[i]= NULL; + m_instance[i] = NULL; } // The video subsystem is required for joystick input to work. However, |