diff options
author | Ton Roosendaal <ton@blender.org> | 2004-11-10 18:04:13 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-11-10 18:04:13 +0300 |
commit | 6ea962923a217337d744f58a57b3df20c4a45ca3 (patch) | |
tree | 4f388541824887ac1c757667cba9080991b688f9 /source/gameengine/GamePlayer/common | |
parent | 48121a0b6ae08a1b9830340f6d1be19d21b33e02 (diff) |
GamePlayer seems to be forced to quit pressing "end key".
The code to check for it was very weak... causing apple key to quit it too.
Diffstat (limited to 'source/gameengine/GamePlayer/common')
-rw-r--r-- | source/gameengine/GamePlayer/common/GPC_KeyboardDevice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/GamePlayer/common/GPC_KeyboardDevice.cpp b/source/gameengine/GamePlayer/common/GPC_KeyboardDevice.cpp index 6b6f619f820..989317ebf61 100644 --- a/source/gameengine/GamePlayer/common/GPC_KeyboardDevice.cpp +++ b/source/gameengine/GamePlayer/common/GPC_KeyboardDevice.cpp @@ -120,7 +120,7 @@ bool GPC_KeyboardDevice::ConvertEvent(int incode, int val) } } } - } else { + } else if(kxevent==KX_ENDKEY) { exit(1); } return result; |