Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/input.cc')
-rw-r--r--src/client/input.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/input.cc b/src/client/input.cc
index a5af430..9293404 100644
--- a/src/client/input.cc
+++ b/src/client/input.cc
@@ -782,7 +782,7 @@ void frame()
for (Keyboard::iterator it = keyboard->begin(); it != keyboard->end(); it++) {
key = (*it).second;
- if (key && key->pressed()) {
+ if (key && (key->sym() < 512) && key->pressed()) {
if ((key->pressed()+delay < core::application()->time()) && (key->lastpressed()+repeat < core::application()->time())) {
key->key_lastpressed = core::application()->time();
key_pressed(key);