diff options
author | Stijn Buys <ingar@osirion.org> | 2009-01-10 15:36:15 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2009-01-10 15:36:15 +0000 |
commit | 272d229094309bc5875287a5063f818c58c5f4f8 (patch) | |
tree | fb9a84748c0a88bfa0e59f63be51455fc239becc /src/client/input.cc | |
parent | 44500292f5a964036e9d915a38a2773bf5aa765d (diff) |
hud widget, drawing code reorganization
Diffstat (limited to 'src/client/input.cc')
-rw-r--r-- | src/client/input.cc | 2 |
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); |