Blender Git Loki

Git Commits -> Revision e9a7e30

Revision e9a7e30 by Kent Mein (master)
December 30, 2002, 07:13 (GMT)


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)

Commit Details:

Full Hash: e9a7e307580d8c0b9827226de076b2b9bb6dfe33
SVN Revision: 244
Parent Commit: cc95cdd
Lines Changed: +4, -4

1 Modified Path:

/source/gameengine/GameLogic/SCA_KeyboardSensor.cpp (+4, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021