Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/gameengine/GameLogic/SCA_JoystickManager.cpp')
-rw-r--r--source/gameengine/GameLogic/SCA_JoystickManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/gameengine/GameLogic/SCA_JoystickManager.cpp b/source/gameengine/GameLogic/SCA_JoystickManager.cpp
index 2942384055b..c21db794e42 100644
--- a/source/gameengine/GameLogic/SCA_JoystickManager.cpp
+++ b/source/gameengine/GameLogic/SCA_JoystickManager.cpp
@@ -52,7 +52,7 @@ SCA_JoystickManager::~SCA_JoystickManager()
{
int i;
for (i=0; i<JOYINDEX_MAX; i++) {
- if(m_joystick[i])
+ if (m_joystick[i])
m_joystick[i]->ReleaseInstance();
}
}
@@ -72,7 +72,7 @@ void SCA_JoystickManager::NextFrame(double curtime,double deltatime)
for (it.begin();!it.end();++it)
{
SCA_JoystickSensor* joysensor = *it;
- if(!joysensor->IsSuspended())
+ if (!joysensor->IsSuspended())
{
joysensor->Activate(m_logicmgr);
}