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:
authorCampbell Barton <ideasman42@gmail.com>2008-09-21 09:38:28 +0400
committerCampbell Barton <ideasman42@gmail.com>2008-09-21 09:38:28 +0400
commite11cd5a962803747ce3c0bddaef73a47d8938b63 (patch)
treefc0f4390ca230f0a567e0ce3429026a99632a08f /source/gameengine/GameLogic/SCA_JoystickManager.cpp
parent2064f5542ae8edf0c52bcc104f10696f5b6e3659 (diff)
game engine now compiles with SDL disabled. CDROM and Joystick wont function in this case
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 a86770a6e0a..d874b5b013a 100644
--- a/source/gameengine/GameLogic/SCA_JoystickManager.cpp
+++ b/source/gameengine/GameLogic/SCA_JoystickManager.cpp
@@ -63,9 +63,9 @@ void SCA_JoystickManager::NextFrame(double curtime,double deltatime)
}
else {
set<SCA_ISensor*>::iterator it;
-
+#ifndef DISABLE_SDL
SCA_Joystick::HandleEvents(); /* Handle all SDL Joystick events */
-
+#endif
for (it = m_sensors.begin(); it != m_sensors.end(); it++)
{
SCA_JoystickSensor* joysensor = (SCA_JoystickSensor*)(*it);