diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2009-03-16 02:40:59 +0300 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2009-03-16 02:40:59 +0300 |
commit | 1e1b88c118d6e6b2df3f6240547acc92e2d08e15 (patch) | |
tree | 4e8d9b21078982539314abfa345f32c168c4ed11 /source | |
parent | e0b629fe71fa184a0cdd08ab4e7f6ddfce654623 (diff) |
BGE
* getting state of RMB was impossible due to wrong check.
Diffstat (limited to 'source')
-rw-r--r-- | source/gameengine/GameLogic/SCA_MouseSensor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/GameLogic/SCA_MouseSensor.cpp b/source/gameengine/GameLogic/SCA_MouseSensor.cpp index 36e4a5f2c30..57535b29f32 100644 --- a/source/gameengine/GameLogic/SCA_MouseSensor.cpp +++ b/source/gameengine/GameLogic/SCA_MouseSensor.cpp @@ -282,7 +282,7 @@ KX_PYMETHODDEF_DOC_O(SCA_MouseSensor, getButtonStatus, int button = PyInt_AsLong(value); if ((button < SCA_IInputDevice::KX_LEFTMOUSE) - || (button > SCA_IInputDevice::KX_MIDDLEMOUSE)){ + || (button > SCA_IInputDevice::KX_RIGHTMOUSE)){ PyErr_SetString(PyExc_ValueError, "invalid button specified!"); return NULL; } |