Kent Mein
e9a7e30758
Removed another unused var and cleaned up a couple of lines of code
...
Here is the diff
Kent
Index: GameLogic/SCA_KeyboardSensor.cpp
===================================================================
RCS file: /cvs01/blender/source/gameengine/GameLogic/SCA_KeyboardSensor.cpp,v
retrieving revision 1.3
diff -u -r1.3 SCA_KeyboardSensor.cpp
--- GameLogic/SCA_KeyboardSensor.cpp 25 Nov 2002 15:29:42 -0000 1.3
+++ GameLogic/SCA_KeyboardSensor.cpp 30 Dec 2002 07:09:42 -0000
@@ -167,14 +167,14 @@
} else
{
- // cerr << "======= SCA_KeyboardSensor::Evaluate:: peeking at key status" << endl;
- const SCA_InputEvent & inevent = inputdev->GetEventValue((SCA_IInputDevice::KX_EnumInputs) m_hotkey);
+ // cerr << "======= SCA_KeyboardSensor::Evaluate:: peeking at key status" << endl;
+ const SCA_InputEvent & inevent = inputdev->GetEventValue(
+ (SCA_IInputDevice::KX_EnumInputs) m_hotkey);
- // cerr << "======= SCA_KeyboardSensor::Evaluate::
status: " << inevent.m_status << endl;
+ // cerr << "======= SCA_KeyboardSensor::Evaluate:: status: " << inevent.m_status << endl;
if (inevent.m_status == SCA_InputEvent::KX_NO_INPUTSTATUS)
{
- int i=4;
} else
{
if (inevent.m_status == SCA_InputEvent::KX_JUSTACTIVATED)
2002-12-30 07:13:26 +00:00