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>2010-10-20 16:33:00 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-10-20 16:33:00 +0400
commita9f79ee5360261d00c72ed9528052fa3791d17f5 (patch)
tree7e2d882e95ec29547804a7986488ba3aad324dd9 /source/gameengine/GameLogic/SCA_KeyboardSensor.cpp
parent394caf98e3ae78fec83b8e36b6f3deb342efe3af (diff)
Quiet compiler warnings.
Diffstat (limited to 'source/gameengine/GameLogic/SCA_KeyboardSensor.cpp')
-rw-r--r--source/gameengine/GameLogic/SCA_KeyboardSensor.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/gameengine/GameLogic/SCA_KeyboardSensor.cpp b/source/gameengine/GameLogic/SCA_KeyboardSensor.cpp
index c49d65226dc..1a87528e540 100644
--- a/source/gameengine/GameLogic/SCA_KeyboardSensor.cpp
+++ b/source/gameengine/GameLogic/SCA_KeyboardSensor.cpp
@@ -156,6 +156,9 @@ bool SCA_KeyboardSensor::Evaluate()
case SCA_InputEvent::KX_ACTIVE:
active = true;
break;
+ case SCA_InputEvent::KX_NO_INPUTSTATUS:
+ /* do nothing */
+ break;
}
}
@@ -221,6 +224,9 @@ bool SCA_KeyboardSensor::Evaluate()
break;
case SCA_InputEvent::KX_JUSTACTIVATED:
qual_change = true;
+ case SCA_InputEvent::KX_ACTIVE:
+ /* do nothing */
+ break;
}
}
if (m_qual2 > 0 && qual==true) {
@@ -236,6 +242,9 @@ bool SCA_KeyboardSensor::Evaluate()
break;
case SCA_InputEvent::KX_JUSTACTIVATED:
qual_change = true;
+ case SCA_InputEvent::KX_ACTIVE:
+ /* do nothing */
+ break;
}
}
/* done reading qualifiers */